diff options
| author | Tom Lane | 2002-09-24 23:14:25 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-09-24 23:14:25 +0000 |
| commit | c6367df506b6f39b63b5ff85304b5618e0f61fb2 (patch) | |
| tree | 29edd9310d6151b49dc4a7447b634cee380ddbe9 /src/bin/initdb | |
| parent | e92bec2844f2da02d217d18cb7260cf04f05c43e (diff) | |
Change default privileges for languages and functions to be PUBLIC USAGE
and PUBLIC EXECUTE, respectively. Per discussion about easing updates
from prior versions.
Diffstat (limited to 'src/bin/initdb')
| -rw-r--r-- | src/bin/initdb/initdb.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index 830263bb03c..60c4469adda 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -27,7 +27,7 @@ # Portions Copyright (c) 1996-2002, 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.174 2002/09/18 21:35:23 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.175 2002/09/24 23:14:25 tgl Exp $ # #------------------------------------------------------------------------- @@ -1034,6 +1034,8 @@ $ECHO_N "setting privileges on built-in objects... "$ECHO_C WHERE proacl IS NULL; UPDATE pg_language SET lanacl = '{"=U"}' \ WHERE lanpltrusted; + UPDATE pg_language SET lanacl = '{"="}' \ + WHERE NOT lanpltrusted; EOF ) \ | "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely |
