Re: "-t template0" in createdb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Thomsen <mikerthomsen(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: "-t template0" in createdb
Date: 2011-02-03 22:29:35
Message-ID: 3782.1296772175@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Mike Thomsen <mikerthomsen(at)gmail(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message YAMAMOTO Takashi 2011-02-05 05:20:23 asynchronous commit
Previous Message Mike Thomsen 2011-02-03 19:57:03 Re: "-t template0" in createdb