Re: Ugh...createlang won't prompt for password

"Magnus Hagander" <[email protected]> Tue, 19 Apr 2005 14:44:56 +0200
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
> Just when everything looked good, it went to crap again. I was able to
> successfully install pltclu into one database with the command
> "createlang -U postgres pltclu dbname". Upon hitting enter, I 
> was prompted
> for a password. The next time I went to run the same command, 
> just on a
> different DB, I am no longer prompted for a password, and 
> receive the error
> message, "createlang: could not connect to database template1: FATAL:
> password authentication failed for user "postgres". I checked 
> to see if this
> error was specific to template1, by trying to install a 
> different language
> on the original DB. That too failed with the same error.

Do you get something in the server log at this time? Check both the
eventlog and the logfiles in pg_log.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [email protected]