Re: BUG #1984: automatic casting for using indexes on bigint - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1984: automatic casting for using indexes on bigint
Date
Msg-id 1768.1129997466@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1984: automatic casting for using indexes on bigint  ("Atanas Hristov" <atanashristov@hotmail.com>)
List pgsql-bugs
"Atanas Hristov" <atanashristov@hotmail.com> writes:
> Maybe it is more convient to cast automaticly in sich a case? :

These are the same query.  I think you've forgotten to consider the
effects of caching on repeated execution of a query.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Atanas Hristov"
Date:
Subject: BUG #1984: automatic casting for using indexes on bigint
Next
From: Peter Eisentraut
Date:
Subject: Re: BUG #1986: Please include ONE BIG .txt and .HTML file in *docs*.tar.gz