Re: time without time zone - Mailing list pgsql-general

From Garry Saddington
Subject Re: time without time zone
Date
Msg-id 200706182200.56855.garry@schoolteachers.co.uk
Whole thread Raw
In response to Re: time without time zone  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Monday 18 June 2007 21:15, Tom Lane wrote:
> Garry Saddington <garry@schoolteachers.co.uk> writes:
> > Can anyone explain why time has todays date and time zone?
>
> Works for me:
>
> regression=# insert into periods values(1,1,'now','now');
> INSERT 0 1
> regression=# select * from periods;
>  periodid | periodnumber |  periodstart   |   periodend
> ----------+--------------+----------------+----------------
>         1 |            1 | 16:13:14.35962 | 16:13:14.35962
> (1 row)
>
> I speculate that you are trying to display the table in some client
> software that doesn't know the time datatype and is forcibly converting
> it to something it does know.
>
>             regards, tom lane
Yes, you are correct I am in Zope using ZpsycopgDA. Just tried on the command
line and the behaviour is correct. Time to ask elsewhere, thanks.
regards
garry

pgsql-general by date:

Previous
From: developer@wexwarez.com
Date:
Subject: Re: unexpected shutdown
Next
From: scottb@intercastingcorp.com
Date:
Subject: statistics monitoring performance improvment -- 8.1 as well as 8.2 ?