Re: time without time zone

From: Garry Saddington <garry(at)schoolteachers(dot)co(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: time without time zone
Date: 2007-06-18 21:00:56
Message-ID: 200706182200.56855.garry@schoolteachers.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday 18 June 2007 21:15, Tom Lane wrote:
> Garry Saddington <garry(at)schoolteachers(dot)co(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rodrigo De León 2007-06-18 21:17:59 Re: Postgres VS Oracle
Previous Message developer 2007-06-18 20:58:04 Re: unexpected shutdown