From: | Peter Faulks <faulksp(at)iinet(dot)net(dot)au> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: date arithmetic with columns |
Date: | 2012-03-04 11:29:23 |
Message-ID: | 4F535213.7070402@iinet.net.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Good question.
I'm porting a (never actually finished) app from Firebird to Postgres.
Now that I've re-read how the timestamptz (which Firebird doesn't have)
actually works, I think I'll change the tables and get rid of the
timezone lookup.
Thanks
On 4/03/2012 8:45 PM, hari(dot)fuchs(at)gmail(dot)com wrote:
> Peter Faulks<faulksp(at)iinet(dot)net(dot)au> writes:
>
>> I have two columns in two distinct tables, one is the starting time of
>> an event, timestamp without time zone. Data is the utc datetime (for
>> sorting across time zones), the other is the number of minutes to add.
>
> Maybe I'm missing something, but why don't you just use timestamp with
> timezone instead?
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Piyush Lenka | 2012-03-06 06:22:39 | pg_dump : no tables were found. |
Previous Message | hari.fuchs | 2012-03-04 09:45:18 | Re: date arithmetic with columns |