mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix syntax error.
This commit is contained in:
@ -30,7 +30,7 @@ echo "${BS}connect template1"
|
|||||||
# we don't use POSTGRES_SUPER_USER_ID because the postgres super user id
|
# we don't use POSTGRES_SUPER_USER_ID because the postgres super user id
|
||||||
# could be different on the two installations
|
# could be different on the two installations
|
||||||
#
|
#
|
||||||
echo "select datdba into tmp_pguser \
|
echo "select datdba into table tmp_pguser \
|
||||||
from pg_database where datname = 'template1';"
|
from pg_database where datname = 'template1';"
|
||||||
echo "delete from pg_user where usesysid <> tmp_pguser.datdba;"
|
echo "delete from pg_user where usesysid <> tmp_pguser.datdba;"
|
||||||
echo "drop table tmp_pguser;"
|
echo "drop table tmp_pguser;"
|
||||||
|
Reference in New Issue
Block a user