Peter Eisentraut writes:
> The feof(stdin) test is there from a time when the prompt when to stdout
> and the input came from stdin. Now it would usually not have any effect
> unless the program reads from stdin before connecting to the database,
> which doesn't happen, as far as I can tell.
I was revisiting the issue of how to prevent psql from prompting for a
password, for batch operations, previously discussion here:
http://www.mail-archive.com/pgsql-b...@postgresql.org/msg18440.html
http://www.mail-archive.com/pgsql-b...@postgresql.org/msg20002.html
I noticed that there appear