Re: Add support for AT LOCAL - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: Add support for AT LOCAL
Date
Msg-id 880dec75f1d509233a3935ef80d80f282b1ef136.camel@cybertec.at
Whole thread Raw
In response to Re: Add support for AT LOCAL  (Vik Fearing <vik@postgresfriends.org>)
List pgsql-hackers
On Tue, 2023-06-06 at 04:24 -0400, Vik Fearing wrote:
> > At a quick glance, it looks like you resolve "timezone" at the time
> > the query is parsed.  Shouldn't the resolution happen at query
> > execution time?
>
> current_setting(text) is stable, and my tests show that it is calculated
> at execution time.

Ah, ok, then sorry for the noise.  I misread the code then.

Yours,
Laurenz Albe



pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Return value of pg_promote()
Next
From: Konstantin Knizhnik
Date:
Subject: Re: Let's make PostgreSQL multi-threaded