ALTER TYPE 4: temporal data types - Mailing list pgsql-hackers

From Noah Misch
Subject ALTER TYPE 4: temporal data types
Date
Msg-id 20110109220500.GE5777@tornado.leadboat.com
Whole thread Raw
List pgsql-hackers
Add exemptor functions to avoid rewrites for conversions involving the temporal
data types.  I needed a find-last-set function for the interval_scale exemptor
function, so I imported one from FreeBSD.  To improve timestamp<->timestamptz
when the timezone "is" UTC/GMT, I compare the current timezone definition to the
gmt_timezone we keep handy.  To make that actually work, I've changed pg_tzset
to zero its unused bytes.

Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: ALTER TYPE 3: add facility to identify further no-work cases
Next
From: Noah Misch
Date:
Subject: ALTER TYPE 5: varbit and bit