Re: Bug #885: Trouble with timestamps after vacuuming

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: marsosa(at)tangobroker(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #885: Trouble with timestamps after vacuuming
Date: 2003-01-24 20:50:43
Message-ID: 22549.1043441443@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-01-24 20:53:54 Re: Bug #884: Schema access not inherited by functions declared SECURITY DEFINER
Previous Message Josh Berkus 2003-01-24 19:12:01 No migration path for MONEY