mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Document aclitem functions and operators
aclitem functions and operators have been heretofore undocumented. Fix that. While at it, ensure the non-operator aclitem functions have pg_description strings. Does not seem worthwhile to back-patch. Author: Fabien Coelho, with pg_description from John Naylor, and significant refactoring and editorialization by me. Reviewed by: Tom Lane Discussion: https://postgr.es/m/flat/alpine.DEB.2.21.1808010825490.18204%40lancre
This commit is contained in:
@ -855,8 +855,7 @@ acldefault(ObjectType objtype, Oid ownerId)
|
||||
|
||||
/*
|
||||
* SQL-accessible version of acldefault(). Hackish mapping from "char" type to
|
||||
* OBJECT_* values, but it's only used in the information schema, not
|
||||
* documented for general use.
|
||||
* OBJECT_* values.
|
||||
*/
|
||||
Datum
|
||||
acldefault_sql(PG_FUNCTION_ARGS)
|
||||
|
@ -2073,11 +2073,11 @@
|
||||
{ oid => '1365', descr => 'make ACL item',
|
||||
proname => 'makeaclitem', prorettype => 'aclitem',
|
||||
proargtypes => 'oid oid text bool', prosrc => 'makeaclitem' },
|
||||
{ oid => '3943', descr => 'TODO',
|
||||
{ oid => '3943', descr => 'show hardwired default privileges, primarily for use by the information schema',
|
||||
proname => 'acldefault', prorettype => '_aclitem', proargtypes => 'char oid',
|
||||
prosrc => 'acldefault_sql' },
|
||||
{ oid => '1689',
|
||||
descr => 'convert ACL item array to table, for use by information schema',
|
||||
descr => 'convert ACL item array to table, primarily for use by information schema',
|
||||
proname => 'aclexplode', prorows => '10', proretset => 't',
|
||||
provolatile => 's', prorettype => 'record', proargtypes => '_aclitem',
|
||||
proallargtypes => '{_aclitem,oid,oid,text,bool}',
|
||||
|
Reference in New Issue
Block a user