Bojan Jovanovic <bjovanovic(at)bjovanovic(dot)com> writes:
> How would STDERR get redirected from psql?
The usual way, like "psql 2>/dev/null", but if you didn't know that then
it's unlikely you did it.
I have seen symptoms roughly like this one with really ancient SELinux
policies (the first draft of the policy tried to suppress direct writes
on /dev/tty from any Postgres executable, IIRC :-(). But I didn't think
RHEL3 had SELinux. Do you have /usr/sbin/getenforce and if so what does
it report?
regards, tom lane