> I was going to add this to TODO:
> Change 'createlang [langname] dbname' to 'createlang langname [dbname]'
> However, when I started to look at the createlang script, I saw:
> if [ "$list" != "t" ]
> then langname="$1"
> if [ "$2" ]
> else dbname="$1"
> which said that dbname was already behaving as optional, even though
> there was code to handle a missing langname.
> Rather than change the script to make langname optional, I have fixed
> the script to work the way everyone wants it to work, namely dbname is
> now optional. I grabbed the dbname default code from createdb.
OK, turns out droplang has the same problem; default are documented but
do not work. Fixed to have dbname optional, just like createlang.
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-patches by date
|Next:||From: Bruce Momjian||Date: 2002-01-03 07:57:54|
|Subject: Re: Patch for ODBC driver (look for odbc.ini in more than|
|Previous:||From: Bruce Momjian||Date: 2002-01-03 05:45:13|
|Subject: Re: make createlang match docs|