Re: PGTTY? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PGTTY?
Date
Msg-id 27800.1046900173@sss.pgh.pa.us
Whole thread Raw
In response to PGTTY?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: Aggregate "rollup"
Next
From: Bruce Momjian
Date:
Subject: Re: request for sql3 compliance for the update command