Re: pg_dump automatic - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_dump automatic
Date
Msg-id 25345.1043676240@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump automatic  (Antti Haapala <antti.haapala@iki.fi>)
List pgsql-general
Antti Haapala <antti.haapala@iki.fi> writes:
> I think it could be a good idea to add an option which specifies which
> file descriptor should be used for reading passwords?

> Then shells could invoke programs like this:
>    psql -U xyz template1 --password-fd=4 < my_data 4< /the/password/file/you/want/to/use

Seems like a useless frammish ... what would you do with it that
wouldn't be better done with .pgpass?

            regards, tom lane

pgsql-general by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: too many users for postgresql? :)
Next
From: Tom Lane
Date:
Subject: Re: required rights for PGDATA