Re: Add support for AT LOCAL

cary huang <hcary328@gmail.com>

From: cary huang <hcary328@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Vik Fearing <vik@postgresfriends.org>
Date: 2023-09-22T21:46:41Z
Lists: pgsql-hackers
The following review has been posted through the commitfest application:
make installcheck-world:  tested, passed
Implements feature:       tested, passed
Spec compliant:           tested, passed
Documentation:            tested, passed

Hello

I think this feature can be a useful addition in dealing with time zones. I have applied and tried out the patch, The feature works as described and seems promising. The problem with compilation failure was probably reported on CirrusCI when compiled on different platforms. I have run the latest patch on my own Cirrus CI environment and everything checked out fine. 

Thank you

Cary Huang
------------------
Highgo Software Canada
www.highgo.ca

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.