SPI_connect on multi-threaded app - Mailing list pgsql-hackers

From John Williams
Subject SPI_connect on multi-threaded app
Date
Msg-id CABKKsRJs4hkUVZKbS=R91xZTp+n1T0wMRqW69oF-QXp3JO9R+Q@mail.gmail.com
Whole thread Raw
Responses Re: SPI_connect on multi-threaded app  (Florian Pflug <fgp@phlo.org>)
List pgsql-hackers
<div dir="ltr">I'm writing a pgsql extension in C, which is multithreaded. The SPI connection is global, so do I have
toimplement a lock to make sql queries in each thread, or can I make a connection on a per-thread basis?<br /></div> 

pgsql-hackers by date:

Previous
From: Christopher Browne
Date:
Subject: Re: Storing the password in .pgpass file in an encrypted format
Next
From: Florian Pflug
Date:
Subject: Re: Uninterruptable regexp_replace in 9.3.1 ?