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
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
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
---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .