Re: using index with bigint pkey - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: using index with bigint pkey
Date
Msg-id 41A67210.8010206@opencloud.com
Whole thread Raw
In response to using index with bigint pkey  ("Éric Paré" <paree@LEXUM.UMontreal.CA>)
List pgsql-jdbc
Éric Paré wrote:

> I found that running a simple query on a bigint index does not behave as
> expected in the planner.  This query does not use the index on 'a pkey
> id column' if it is of bigint type :

> Note on setup :
> - postgresql 7.4.1 server
> - postgresql-7.4.1-jdbc3.jar

Use an 8.0 server (allows cross-type index use), or the development JDBC
driver (sends longs as BIGINT via the V3 protocol).

-O

pgsql-jdbc by date:

Previous
From: "Éric Paré"
Date:
Subject: using index with bigint pkey
Next
From: deepthi@granwill.com
Date:
Subject: Time conversion across various parts of world