Re: thread-safety: gmtime_r(), localtime_r()

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: thread-safety: gmtime_r(), localtime_r()
Date: 2024-08-16 13:12:43
Message-ID: CA+hUKGJ2RFTaU28LaHcfYrNRMRkmjmgZfgLTUnxn+9nmDkNuCw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Aug 17, 2024 at 1:09 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> This change complements CF #5170's change strftime()->strftime_l(), to
> make the function fully thread-safe.

(Erm, I meant its standard library... of course it has its own global
variables to worry about still.)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michail Nikolaev 2024-08-16 13:31:55 Re: [BUG?] check_exclusion_or_unique_constraint false negative
Previous Message Thomas Munro 2024-08-16 13:09:07 Re: thread-safety: gmtime_r(), localtime_r()