Lee Kindness wrote: > Guys, take a look at what was done in libpq to make it > thread-safe... No locks! No overheaded - just using "proper" reentrant > functions... > > If we have libpq_r then we're making a complete hash of it all - being > reentrant is good, even if you're not using threads! > > Now, ecpg is another issue... >
I think the issue is that using a threaded library to link into libpq could have locking stuff. My guess is that if the OS has separate threaded libs, we have to mimic that stuff. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend