View Single Post

   
  #3 (permalink)  
Old 04-10-2008, 12:11 PM
Tom Lane
 
Posts: n/a
Default Re: BUG #3711: dropdb and creatdb with pgpass.conf file

"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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Reply With Quote