diff options
| author | Tom Lane | 2002-04-21 00:26:44 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-04-21 00:26:44 +0000 |
| commit | b0bcf8aab2da6710ff8842b86fed93571e143cc8 (patch) | |
| tree | 922f5b76b34a555d1a30003f216dd5df1aa3663c /src/bin/initdb | |
| parent | ad201b8d18b19d8c7a4a458e078bb555fcc2de74 (diff) | |
Restructure AclItem representation so that we can have more than eight
different privilege bits (might as well make use of the space we were
wasting on padding). EXECUTE and USAGE bits for procedures, languages
now are separate privileges instead of being overlaid on SELECT. Add
privileges for namespaces and databases. The GRANT and REVOKE commands
work for these object types, but we don't actually enforce the privileges
yet...
Diffstat (limited to 'src/bin/initdb')
| -rw-r--r-- | src/bin/initdb/initdb.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index 4074c9cf613..195e4f8a83c 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -27,7 +27,7 @@ # Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group # Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.150 2002/04/19 23:13:54 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.151 2002/04/21 00:26:43 tgl Exp $ # #------------------------------------------------------------------------- @@ -949,9 +949,9 @@ $ECHO_N "setting privileges on built-in objects... "$ECHO_C cat <<EOF UPDATE pg_class SET relacl = '{"=r"}' \ WHERE relkind IN ('r', 'v', 'S') AND relacl IS NULL; - UPDATE pg_proc SET proacl = '{"=r"}' \ + UPDATE pg_proc SET proacl = '{"=X"}' \ WHERE proacl IS NULL; - UPDATE pg_language SET lanacl = '{"=r"}' \ + UPDATE pg_language SET lanacl = '{"=U"}' \ WHERE lanpltrusted; EOF ) \ |
