diff options
author | Bruce Momjian | 2002-10-16 03:44:28 +0000 |
---|---|---|
committer | Bruce Momjian | 2002-10-16 03:44:28 +0000 |
commit | 6b0e166644cd33e96bbb907190592ec1e88d644b (patch) | |
tree | 17dce705bf817b65f12a6b049c4db604b564521d /src/bin/scripts/dropdb | |
parent | 5d8c67462d93b33b13fe5e45b26002b8e625002c (diff) |
Improve appearance of SET command.
Diffstat (limited to 'src/bin/scripts/dropdb')
-rw-r--r-- | src/bin/scripts/dropdb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/dropdb b/src/bin/scripts/dropdb index 9ad1b40ebab..92892f6d1cd 100644 --- a/src/bin/scripts/dropdb +++ b/src/bin/scripts/dropdb @@ -11,7 +11,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.17 2002/10/16 03:24:09 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.18 2002/10/16 03:44:28 momjian Exp $ # #------------------------------------------------------------------------- @@ -138,7 +138,7 @@ fi dbname=`echo "$dbname" | sed 's/\"/\\\"/g'` -${PATHNAME}psql $PSQLOPT -d template1 -c "SET autocommit = 'on';DROP DATABASE \"$dbname\"" +${PATHNAME}psql $PSQLOPT -d template1 -c "SET autocommit TO 'on';DROP DATABASE \"$dbname\"" if [ "$?" -ne 0 ]; then echo "$CMDNAME: database removal failed" 1>&2 exit 1 |