We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ecd278 commit b9da4b7Copy full SHA for b9da4b7
src/bin/scripts/droplang
@@ -7,7 +7,7 @@
7
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
8
# Portions Copyright (c) 1994, Regents of the University of California
9
#
10
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.19 2002/01/03 06:09:02 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.20 2002/01/03 08:53:00 momjian Exp $
11
12
#-------------------------------------------------------------------------
13
@@ -96,10 +96,14 @@ do
96
exit 1
97
;;
98
*)
99
- langname="$1"
100
- if [ "$2" ]; then
101
- shift
102
- dbname="$1"
+ if [ "$list" != "t" ]
+ then langname="$1"
+ if [ "$2" ]
+ then
103
+ shift
104
+ dbname="$1"
105
+ fi
106
+ else dbname="$1"
107
fi
108
109
esac
0 commit comments