projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11ac1bf
)
Portability fix for pg_dumpall.
author
Bruce Momjian
Wed, 20 Aug 1997 15:06:48 +0000
(15:06 +0000)
committer
Bruce Momjian
Wed, 20 Aug 1997 15:06:48 +0000
(15:06 +0000)
src/bin/pg_dump/pg_dumpall
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dumpall
b/src/bin/pg_dump/pg_dumpall
index 976a05eebe1e6d5c14a91f7b1db6404cbd12fe13..0e3a1ef0ab2e22098afdc371a55bf0422e38e71b 100644
(file)
--- a/
src/bin/pg_dump/pg_dumpall
+++ b/
src/bin/pg_dump/pg_dumpall
@@
-18,11
+18,11
@@
fi
#
# get the postgres user id
#
-POSTGRES_SUPER_USER_ID="`
psql -A -q -t template1 <
-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