Re: Bug #885: Trouble with timestamps after vacuuming - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #885: Trouble with timestamps after vacuuming
Date
Msg-id 22549.1043441443@sss.pgh.pa.us
Whole thread Raw
In response to Bug #885: Trouble with timestamps after vacuuming  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> Query failed: ERROR:  Bad timestamp external representation '06/05/2002 11:42:10 ART'

> PostgreSQL 7.2.3 on i586-pc-linux-gnu, compiled by GCC 2.96 (redhat 7.2, postgres installed from sources)

Timezone 'ART' is in the list of timezones known to Postgres, but the
table order is messed up --- it's searched by a binary search which can
fail to find entries if the alphabetical ordering isn't perfect.
You can fix it yourself if you need to --- see datetktbl[] in
src/backend/utils/adt/datetime.c.

This was only recently noticed in 7.3, and I had thought that it was a
newly introduced bug, but now I see the problem exists in 7.2.* as well.
Will patch it in 7.2.4, due out next week.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Josh Berkus
Date:
Subject: No migration path for MONEY
Next
From: Tom Lane
Date:
Subject: Re: Bug #884: Schema access not inherited by functions declared SECURITY DEFINER