Re: Bugs in bigint indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nishad(at)ptolemy(dot)tlg(dot)uci(dot)edu
Cc: Gustavo Scotti <gscotti(at)axur(dot)com(dot)br>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bugs in bigint indexes
Date: 2003-12-19 18:31:16
Message-ID: 10836.1071858676@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Nishad Prakash <prakashn(at)uci(dot)edu> writes:
> Why doesn't the query planner notice that an int-type index is present
> and perform the cast on its own? Perhaps one of the developers
> can explain? I think users would like this property if it could be
> implemented without breaking anything.

It's been done for 7.5. As for why it wasn't done earlier, well, it
was a hard problem. Read the pgsql-hackers archives.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Meskes 2003-12-19 20:18:29 Re: 7.1.3 ecpg answered BUT...
Previous Message Kris Jurka 2003-12-19 18:27:17 Re: Jdbc connection pooling and PG 7.4 consistently fails