Re: Equality search on timestamp value returns no rows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Keaton Adams <kadams(at)mxlogic(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Equality search on timestamp value returns no rows
Date: 2008-07-23 20:23:09
Message-ID: 9949.1216844589@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Keaton Adams <kadams(at)mxlogic(dot)com> writes:
> Any ideas why the equality search wouldn't work in the first case, but after reloading the table data it works just fine?

I think you're using floating-point timestamps and encountering a
roundoff issue.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2008-07-23 20:27:40 Re: Any way to favor index scans, but not bitmap index scans?
Previous Message Francisco Reyes 2008-07-23 20:12:10 Re: Any way to favor index scans, but not bitmap index scans?