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])