On Jul 19, 2011, at 4:20 PM, David E. Wheeler wrote: > On Jul 19, 2011, at 2:06 PM, Josh Berkus wrote: > >> I am strongly in favor of having a *timezone* data type and some system >> whereby we can uniquely identify timezones in the Zic database. > > CREATE OR REPLACE FUNCTION is_timezone( > tz CITEXT > ) RETURNS BOOLEAN LANGUAGE plpgsql STABLE AS $$ ... > CREATE DOMAIN timezone AS CITEXT CHECK ( is_timezone( VALUE ) );
Storing giant globs of text with every timestamp field is really ugly. -- Jim C. Nasby, Database Architect j...@nasby.net 512.569.9461 (cell) http://jim.nasby.net -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers