db_tz_support in date_api_sql.inc

Query is:
'2008-02-15 12:00:00 UTC' AT TIME ZONE 'US/Central'
Should be:
SELECT TIMESTAMP WITH TIME ZONE '2008-02-15 12:00:00 UTC' AT TIME ZONE 'US/Central'

Patch attached.

Comments

karens’s picture

See #279051: pgsql named time zone detection is incorrect. If that's wrong, you guys need to duke it out and tell me what works.

karens’s picture

Status: Active » Postponed (maintainer needs more info)
halcyonCorsair’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

If you committed the fix as mentioned in the other bug it should do what I want.