Portability fix for pg_dumpall.

This commit is contained in:
Bruce Momjian 1997-08-20 15:06:48 +00:00
parent 11ac1bf268
commit 63fbdd358f
1 changed files with 5 additions and 5 deletions

View File

@ -18,11 +18,11 @@ fi
#
# get the postgres user id
#
POSTGRES_SUPER_USER_ID="`psql -A -q -t template1 <<END
select datdba
from pg_database
where datname = 'template1';
END`"
POSTGRES_SUPER_USER_ID="`echo \" \
select datdba \
from pg_database \
where datname = 'template1'; \" | \
psql -A -q -t template1`"
echo "${BS}connect template1"
#
# delete all users in case they run this twice