You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
echo"pg_dump can not process option$1, exiting"1>&2
130
+
exit 1
131
+
;;
128
132
*)
129
133
pgdumpextraopts="$pgdumpextraopts$1"
130
134
;;
@@ -214,12 +218,9 @@ exec 4<&0
214
218
# We skip databases marked not datallowconn, since we'd be unable to
215
219
# connect to them anyway (and besides, we don't want to dump template0).
216
220
217
-
DATABASES=""
218
-
219
221
$PSQL -d template1 -At -F'' \
220
222
-c"SELECT datname, coalesce(usename, (select usename from pg_shadow where usesysid=(select datdba from pg_database where datname='template0'))), pg_encoding_to_char(d.encoding), datistemplate, datpath FROM pg_database d LEFT JOIN pg_shadow u ON (datdba = usesysid) WHERE datallowconn ORDER BY 1;"| \