Re: Attempt at work around of int4 query won't touch int8 index ... - Mailing list pgsql-performance

From Paul Thomas
Subject Re: Attempt at work around of int4 query won't touch int8 index ...
Date
Msg-id 20030916084448.A24702@bacon
Whole thread Raw
In response to Re: Attempt at work around of int4 query won't touch int8 index ...  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Responses Re: Attempt at work around of int4 query won't touch int8 index ...
List pgsql-performance
On 15/09/2003 08:42 Shridhar Daithankar wrote:
>
> Is it possible to follow data type upgrade model in planner?  Something
> like in
> C/C++ where data types are promoted upwards to find out better plan?
>
> int2->int4->int8->float4->float8 types.
>
>  That could be a clean solution..
>
> just a thought..
>

Interestingly, float8 indexes do work OK (float8col = 99). I spend a large
part of yesterday grepping through the sources to try and find out why
this should be so. No luck so far but I'm going to keep on trying!


--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants         |
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+

pgsql-performance by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: Inconsistent performance
Next
From: "Matt Clark"
Date:
Subject: Re: Inconsistent performance