aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network_gist.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2024-09-12 21:48:58 +0900
committerFujii Masao <fujii@postgresql.org>2024-09-12 21:51:26 +0900
commit4eada203a5a871f893afe3eb3e07eea5de1aa642 (patch)
treec6f689cddde1c426059c9cbd8326b5ac3799a8e0 /src/backend/utils/adt/network_gist.c
parent412229d197f894a01c163b9e9fdfec1a1855f7ab (diff)
downloadpostgresql-4eada203a5a871f893afe3eb3e07eea5de1aa642.tar.gz
postgresql-4eada203a5a871f893afe3eb3e07eea5de1aa642.zip
Add has_largeobject_privilege function.
This function checks whether a user has specific privileges on a large object, identified by OID. The user can be provided by name, OID, or default to the current user. If the specified large object doesn't exist, the function returns NULL. It raises an error for a non-existent user name. This behavior is basically consistent with other privilege inquiry functions like has_table_privilege. Bump catalog version. Author: Yugo Nagata Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/20240702163444.ab586f6075e502eb84f11b1a@sranhm.sraoss.co.jp
Diffstat (limited to 'src/backend/utils/adt/network_gist.c')
0 files changed, 0 insertions, 0 deletions