Re: BUG #3711: dropdb and creatdb with pgpass.conf file - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3711: dropdb and creatdb with pgpass.conf file
Date
Msg-id 21442.1193867231@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3711: dropdb and creatdb with pgpass.conf file  ("gregory vallet" <gvallet@fr.abx.fr>)
List pgsql-bugs
"gregory vallet" <gvallet@fr.abx.fr> writes:
> Why do dropdb and creatdb can't recognize my database name?

dropdb and createdb always connect to the "postgres" database,
which you did not put an entry for into your pgpass file.

As a rule I'd suggest wildcarding the database column in pgpass;
it's pretty much useless.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #3711: dropdb and creatdb with pgpass.conf file
Next
From: "Idris Khanafi"
Date:
Subject: Tsearch in Postgresql 8.2.5