diff options
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index ff70c8d6a66..965e94a5387 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.176 2007/05/27 05:37:49 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.177 2007/09/03 00:39:18 tgl Exp $ * * *------------------------------------------------------------------------- @@ -250,7 +250,12 @@ CheckMyDatabase(const char *name, bool am_superuser) { ArrayType *a = DatumGetArrayTypeP(datum); - ProcessGUCArray(a, PGC_S_DATABASE); + /* + * We process all the options at SUSET level. We assume that the + * right to insert an option into pg_database was checked when it + * was inserted. + */ + ProcessGUCArray(a, PGC_SUSET, PGC_S_DATABASE, false); } } |