Re: Bugs in bigint indexes - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bugs in bigint indexes
Date
Msg-id 10836.1071858676@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bugs in bigint indexes  (Nishad Prakash <prakashn@uci.edu>)
List pgsql-bugs
Nishad Prakash <prakashn@uci.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

pgsql-bugs by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Jdbc connection pooling and PG 7.4 consistently fails
Next
From: "jmm"
Date:
Subject: Re: Bugs in bigint indexes