pg_dump "feature"

From: "Viorel Dragomir" <bc(at)vio(dot)ro>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: pg_dump "feature"
Date: 2003-07-16 13:41:31
Message-ID: 004501c34b9f$f7d8f520$0600a8c0@fix.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

In 7.1.2 you can launch this command without any problems:
pg_dump -u -s database < file.txt

where file.txt contains 2 lines:
username
password
~
~
~

And you'll get the dump of the <database>.

In 7.1.3 this command work, the only incovenience is that pg_dump shows "User name: Password:"
but gets the password from file.

In 7.3.x the pg_dump accepts the password only from stdin. The user must enter his password.
It's a feature or a bug, because i can't see any logic in this behaviour.

I hope i'll receive an answer, or else i'll post this topic on developers list :)

Thanks.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jonathan Gardner 2003-07-16 13:42:13 Re: problem with temporary table.
Previous Message Gary Stainburn 2003-07-16 11:48:26 numerical sort on mixed alpha/numeric data