diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-06-13 21:44:41 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-06-13 21:44:41 +0000 |
| commit | 1a6bb6d877f60c377635c4e83a1b75ca2f437951 (patch) | |
| tree | 842ea6e49fcfda307f33a325356a24c27c5cda33 /src/include/catalog/pg_shadow.h | |
| parent | f21e3407e6f8b706dc2a490365e13a8e613523de (diff) | |
| download | postgresql-1a6bb6d877f60c377635c4e83a1b75ca2f437951.tar.gz | |
Allow a non-superuser database owner to vacuum all tables in his
database, including system catalogs (but not the shared catalogs,
since they don't really belong to his database). This is per recent
mailing list discussion. Clean up some other code that also checks
for database ownerness by introducing a test function is_dbadmin().
Diffstat (limited to 'src/include/catalog/pg_shadow.h')
| -rw-r--r-- | src/include/catalog/pg_shadow.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/include/catalog/pg_shadow.h b/src/include/catalog/pg_shadow.h index e0b087a9d9..fdec3fa82c 100644 --- a/src/include/catalog/pg_shadow.h +++ b/src/include/catalog/pg_shadow.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_shadow.h,v 1.11 2001/03/09 22:10:13 tgl Exp $ + * $Id: pg_shadow.h,v 1.12 2001/06/13 21:44:41 tgl Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -24,10 +24,6 @@ #define PG_SHADOW_H -/* Prototype required for superuser() from superuser.c */ - -bool superuser(void); - /* ---------------- * pg_shadow definition. cpp turns this into * typedef struct FormData_pg_shadow |
