Is the so-called debug TTY functionality that you can set in libpq in
various ways still existing?  I can't seem to activate it and the code
doesn't show much reference to it.

-- 
Peter Eisentraut   peter_e@gmx.net


Wed, 5 Mar 2003 18:13:35 +0100 (CET)
Peter Eisentraut <peter_e@gmx.net>
PGTTY?
Peter Eisentraut <peter_e@gmx.net> writes:
> Is the so-called debug TTY functionality that you can set in libpq in
> various ways still existing?  I can't seem to activate it and the code
> doesn't show much reference to it.

(a) I believe the TTY option is disabled in the normal postmaster
context, on the theory that it's a security hole.  The switch is
probably still accessible for a standalone backend.

(b) I'm not sure it does anything anymore anyway.  Didn't you rip out
the support for it in elog.c?  All it was was code to redirect stderr
during startup.

			regards, tom lane

Wed, 05 Mar 2003 16:36:13 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: PGTTY? 