Dangerous code in syslogger? - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Dangerous code in syslogger?
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE4760C9@algol.sollentuna.se
Whole thread Raw
Responses Re: Dangerous code in syslogger?
List pgsql-hackers-win32
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


pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: possible problem with version string in win32 port
Next
From: Tom Lane
Date:
Subject: Re: Dangerous code in syslogger?