diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-06-14 01:09:22 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-06-14 01:09:22 +0000 |
commit | c9499e68daa5860368300f744337460e43f93865 (patch) | |
tree | 00caeec863c486b7106a7af9985dd0401593104c /src/include/utils/builtins.h | |
parent | d7763c1f9c950c991daa196609bbd9359ec03a09 (diff) |
has_table_privilege functions from Joe Conway (with some kibitzing from
Tom Lane). For the moment, only the OID/name variants are provided.
I didn't force initdb, but the additions to the 'privileges' regress
test won't pass until you do one.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index d739fd83d8c..7ffde98abf7 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.153 2001/06/13 21:08:59 momjian Exp $ + * $Id: builtins.h,v 1.154 2001/06/14 01:09:22 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -22,6 +22,15 @@ /* * Defined in adt/ */ + +/* acl.c */ +extern Datum has_table_privilege_name_name(PG_FUNCTION_ARGS); +extern Datum has_table_privilege_name_id(PG_FUNCTION_ARGS); +extern Datum has_table_privilege_id_name(PG_FUNCTION_ARGS); +extern Datum has_table_privilege_id_id(PG_FUNCTION_ARGS); +extern Datum has_table_privilege_name(PG_FUNCTION_ARGS); +extern Datum has_table_privilege_id(PG_FUNCTION_ARGS); + /* bool.c */ extern Datum boolin(PG_FUNCTION_ARGS); extern Datum boolout(PG_FUNCTION_ARGS); |