Re: timestamp changed on 7.1.1 ?

From: Alexander Dederer <dederer(at)spb(dot)cityline(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: timestamp changed on 7.1.1 ?
Date: 2001-05-16 11:32:03
Message-ID: 9dtobt$2a63$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex wrote:
> I've just install PostgreSQL 7.1.1 and noticed that timestamp have changed
> in this release.
> for example:
> CREATE TABLE "foo" ( test timestamp );
> if you "\d foo" you will notice the column test is not a timestamp, it's a
> "timestamp with time zone"
> anyway, how can I make a timestamp data type be outputted without the time
> zone?
> I just want the so common "YYYY-MM-DD HH:MM:SS" format, not a "YYYY-MM-DD
> HH:MM:SS-time-stamp_offset"
>
> I expect to get this result *WITHOUT* rewritting existing queries.
> Any opinions would be great.
May use RULES or TRIGGERS for formating timestamp for all SELECT commands.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Dederer 2001-05-16 11:35:06 Re: Form a field from two fields in a select
Previous Message Harald Fuchs 2001-05-16 11:12:25 Re: SQL help...