Re: Bug or Feature?

From: Olivier PRENANT <ohp(at)pyrenet(dot)fr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug or Feature?
Date: 2002-03-04 21:22:18
Message-ID: Pine.UW2.4.21.0203042217360.10589-100000@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, Tom,

Thanks for replying.
You were right (of course) I don't need timestamp on this app...
However I tried to change the column type on 7.1.3 to ease the
swith... AFAIK, there's no timestamp without timezone on 7.1.3; Please
tell me there's another way other than editing pg_dump by hand... That
would loose time and would call for errors...

Regards,
On Mon, 4 Mar 2002, Tom Lane wrote:

> Olivier PRENANT <ohp(at)pyrenet(dot)fr> writes:
> > CREATE INDEX deb ON xxxx USING btree (date(timestamp coll) date_ops);
> > on 7.2 I have an error message saying that functrional indexes must but
> > made ISCACHABLE.
>
> See previous discussion of this identical problem. The fact is that
> such an index is dangerous, because it depends on the timezone setting.
>
> You might want to make the underlying column be timestamp without time
> zone.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
Quartier d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-03-04 21:40:16 Re: [HACKERS] Uniqueness of rule, constraint, and trigger names
Previous Message Rod Taylor 2002-03-04 21:05:16 Re: Database Caching