Re: Ugh...createlang won't prompt for password - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: Ugh...createlang won't prompt for password
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C7305@algol.sollentuna.se
Whole thread Raw
In response to Ugh...createlang won't prompt for password  ("Steve - DND" <postgres@digitalnothing.com>)
Responses Re: Ugh...createlang won't prompt for password
List pgsql-hackers-win32
> 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

pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Can't install pltcl
Next
From: "Steve - DND"
Date:
Subject: Re: Ugh...createlang won't prompt for password