Re: storing TZ along timestamps - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: storing TZ along timestamps
Date
Msg-id C4B20998-C9F2-434B-BEBD-56310C7BDE59@kineticode.com
Whole thread Raw
In response to Re: storing TZ along timestamps  (Jim Nasby <jim@nasby.net>)
List pgsql-hackers
On Jul 21, 2011, at 2:39 PM, Jim Nasby wrote:

>> 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.

You work with what you've got.

David



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: storing TZ along timestamps
Next
From: Jim Nasby
Date:
Subject: Re: storing TZ along timestamps