I'm trying to track down a problem with socket inheritance and the
syslogger, and I noticed something that I think is very dangerous code:
The function pipeThread() is called on a non-default thread, and yet
uses ereport(). ereport() is, AFAIK, not thread-safe. Am I mistaken
here, or is this a crash waiting to happen?
//Magnus