Re: Thread-unsafe coding in ecpg

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Thread-unsafe coding in ecpg
Дата
Msg-id 0f02fb0d-0a80-0dad-a01e-e6879d24e48f@commandprompt.com
обсуждение исходный текст
Ответ на Re: Thread-unsafe coding in ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Thread-unsafe coding in ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 1/21/19 12:05 PM, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
>> Seems jacana might not have like this change?
>> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=jacana&dt=2019-01-21%2019%3A01%3A28
> Hmm.  So mingw doesn't provide access to _configthreadlocale().
> That's unfortunate, at least if we think that mingw is still a viable
> production platform, because it means we can't make ecpg thread-safe
> on that platform.
>
> Is there a newer version of mingw that does have this functionality?
> I'm not sure whether to install a version check or just assume that
> it's never there.

Apparently this can be done with thee 64bit version:

https://stackoverflow.com/questions/33647271/how-to-use-configthreadlocale-in-mingw

JD


>
>             regards, tom lane
>

-- 
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc
PostgreSQL centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn and Network: https://postgresconf.org
***  A fault and talent of mine is to tell it exactly how it is.  ***



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: should ConstraintRelationId ins/upd cause relcache invals?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Thread-unsafe coding in ecpg