RE: Thread-unsafe coding in ecpg - Mailing list pgsql-hackers

From Tsunakawa, Takayuki
Subject RE: Thread-unsafe coding in ecpg
Date
Msg-id 0A3221C70F24FB45833433255569204D1FB6C47E@G01JPEXMBYT05
Whole thread Raw
In response to Re: Thread-unsafe coding in ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Thread-unsafe coding in ecpg
List pgsql-hackers
On Windows, _configthreadlocale() enables us to restrict the effect of setlocale() only to the calling thread.  We can
callit in ecpg_do_prolog/epilog().
 

https://docs.microsoft.com/en-us/cpp/parallel/multithreading-and-locales?view=vs-2017

Regards
Takayuki Tsunakawa




pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: COPY FROM WHEN condition
Next
From: Tom Lane
Date:
Subject: Re: Thread-unsafe coding in ecpg