Dangerous code in syslogger?

"Magnus Hagander" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [email protected])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.