Re: "-t template0" in createdb - Mailing list pgsql-novice

From Tom Lane
Subject Re: "-t template0" in createdb
Date
Msg-id 3782.1296772175@sss.pgh.pa.us
Whole thread Raw
In response to Re: "-t template0" in createdb  (Mike Thomsen <mikerthomsen@gmail.com>)
List pgsql-novice
Mike Thomsen <mikerthomsen@gmail.com> writes:
> Interesting. Your docs say to use "-T template0" I have a feeling that
> our instructions had a typo which caused the grief^H^Hfun I was
> having.

Oh ... I had assumed that was just a typo in your mail, because createdb
doesn't actually *have* a -t switch, only a -T switch.  On reasonable
platforms you will get a failure message if you try to use -t.  But I
suppose you might have a broken version of getopt_long that doesn't
report an error, in which case it's anybody's guess exactly how createdb
is interpreting that command.

            regards, tom lane

pgsql-novice by date:

Previous
From: Mike Thomsen
Date:
Subject: Re: "-t template0" in createdb
Next
From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Date:
Subject: asynchronous commit