mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-06 16:39:22 +02:00
13 lines
408 B
C
13 lines
408 B
C
#ifndef USER_LOCKS_H
|
|
#define USER_LOCKS_H
|
|
|
|
int user_lock(unsigned int id1, unsigned int id2, LOCKT lockt);
|
|
int user_unlock(unsigned int id1, unsigned int id2, LOCKT lockt);
|
|
int user_write_lock(unsigned int id1, unsigned int id2);
|
|
int user_write_unlock(unsigned int id1, unsigned int id2);
|
|
int user_write_lock_oid(Oid oid);
|
|
int user_write_unlock_oid(Oid oid);
|
|
int user_unlock_all(void);
|
|
|
|
#endif
|