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