![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
It seems that for v8.0.4 the createlang will not take .pgpass inputs and always prompts for password. Is this broken for the new version? Well, now I have to type in the password for my database script. -bash-3.00$ createdb test -h localhost -U postgres CREATE DATABASE |
|
-bash-3.00$ createlang plpgsql test -h localhost -U postgres Password: |
#2
| |||
| |||
|
|
Tried many diffent ways but nothing seems to stick for createlang. .pgpass works for all others (createdb, dropdb, createuser, dropuser, etc.) |
|
-bash-3.00$ createdb test -h localhost -U postgres CREATE DATABASE |
|
-bash-3.00$ createlang -h localhost -U postgres plpgsql test Password: |
#3
| |||
| |||
|
|
On Tue, Oct 11, 2005 at 11:16:40AM -0700, John Shin wrote: Tried many diffent ways but nothing seems to stick for createlang. .pgpass works for all others (createdb, dropdb, createuser, dropuser, etc.) -bash-3.00$ createdb test -h localhost -U postgres CREATE DATABASE Hmmm...this command fails with "too many command-line arguments" on both FreeBSD and Solaris (8.0.4 built from source on both), so I wonder if your build is using a getopt_long() that behaves differently than what I'm using. Might not matter, though. |
![]() |
| Thread Tools | |
| Display Modes | |
| |