Re: Add support for AT LOCAL

Vik Fearing <vik@postgresfriends.org>

From: Vik Fearing <vik@postgresfriends.org>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-07-03T14:23:50Z
Lists: pgsql-hackers
On 7/3/23 15:42, Daniel Gustafsson wrote:
>> On 6 Jun 2023, at 05:13, Vik Fearing <vik@postgresfriends.org> wrote:
> 
>> Patch against 3f1aaaa180 attached.
> 
> This patch fails to compile, the declaration of variables in the switch block
> needs to be scoped within a { } block.


Interesting.  It compiles for me.


> I've fixed this trivial error in the
> attached v2 and also reflowed the comments which now no longer fit.


Thank you.
-- 
Vik Fearing




Commits

  1. Dodge a compiler bug affecting timetz_zone/timetz_izone.

  2. Back-patch test cases for timetz_zone/timetz_izone.

  3. Add regression test coverage for timetz_izone().

  4. Add support for AT LOCAL

  5. doc: Mention timezone(zone, time) in section for AT TIME ZONE

  6. Use HASH_BLOBS for xidhash.