1 /* contrib/pg_surgery/pg_surgery--1.0.sql */
3 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
4 \echo Use "CREATE EXTENSION pg_surgery" to load this file. \quit
6 CREATE FUNCTION heap_force_kill(reloid regclass, tids tid[])
8 AS 'MODULE_PATHNAME', 'heap_force_kill'
11 REVOKE EXECUTE ON FUNCTION heap_force_kill(regclass, tid[]) FROM PUBLIC;
13 CREATE FUNCTION heap_force_freeze(reloid regclass, tids tid[])
15 AS 'MODULE_PATHNAME', 'heap_force_freeze'
18 REVOKE EXECUTE ON FUNCTION heap_force_freeze(regclass, tid[]) FROM PUBLIC;