Scott Lamb wrote:
> Speaking of async signal-safe functions, pthread_getspecific() isn't
> specified to be (and thus PQinSend() and thus
> sigpipe_handler_ignore_send()). It's probably okay, but libpq is
> technically using undefined behavior according to SUSv3.
Yikes. I never suspected pthread_getspecific() would not be signal safe
because it is already thread safe, but I see the point that it is called
in the current thread. Any ideas how to fix this?
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073