mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Extend the pg_locks system view so that it can fully display all lock
types, as per recent discussion.
This commit is contained in:
@ -19,9 +19,9 @@
|
||||
|
||||
|
||||
#define SET_LOCKTAG_USERLOCK(locktag,id1,id2) \
|
||||
((locktag).locktag_field1 = (id1), \
|
||||
(locktag).locktag_field2 = (id2), \
|
||||
(locktag).locktag_field3 = MyDatabaseId, \
|
||||
((locktag).locktag_field1 = MyDatabaseId, \
|
||||
(locktag).locktag_field2 = (id1), \
|
||||
(locktag).locktag_field3 = (id2), \
|
||||
(locktag).locktag_field4 = 0, \
|
||||
(locktag).locktag_type = LOCKTAG_USERLOCK)
|
||||
|
||||
|
Reference in New Issue
Block a user