]> granicus.if.org Git - postgresql/commit
Add pg_has_role() family of privilege inquiry functions modeled after the
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Jul 2005 00:04:19 +0000 (00:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Jul 2005 00:04:19 +0000 (00:04 +0000)
commitf9fd1764615ed5d85fab703b0ffb0c323fe7dfd5
treefce5ae4aa26bd0f1f085358f9bdcd3cb60db7058
parente5d6b91220d69c87f44e1ce0095516946abc6d6c
Add pg_has_role() family of privilege inquiry functions modeled after the
existing ones for object privileges.  Update the information_schema for
roles --- pg_has_role() makes this a whole lot easier, removing the need
for most of the explicit joins with pg_user.  The views should be a tad
faster now, too.  Stephen Frost and Tom Lane.
doc/src/sgml/func.sgml
src/backend/catalog/information_schema.sql
src/backend/utils/adt/acl.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h