1
/* contrib/pgrowlocks/pgrowlocks--1.0.sql */
3
CREATE FUNCTION pgrowlocks(IN relname text,
4
OUT locked_row TID, -- row TID
5
OUT lock_type TEXT, -- lock type
6
OUT locker XID, -- locking XID
7
OUT multi bool, -- multi XID?
8
OUT xids xid[], -- multi XIDs
9
OUT pids INTEGER[]) -- locker's process id
11
AS 'MODULE_PATHNAME', 'pgrowlocks'