From: Paul Thomas <paul@tmsl.demon.co.uk>
To: pgsql-performance @ postgresql . org <pgsql-performance@postgresql.org>
Subject: Re: Attempt at work around of int4 query won't touch int8 index ...
Date: Tue, 16 Sep 2003 08:44:48 +0100
Message-ID: <20030916084448.A24702@bacon> (raw)
In-Reply-To: <3F65BABC.32672.38837688@localhost>
References: <2756862E-E3F5-11D7-8513-000A9566A412@socialserve.com>
<20901.1063248257@sss.pgh.pa.us>
<3F65BABC.32672.38837688@localhost>
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 |
+------------------------------+---------------------------------------------+
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: paul@tmsl.demon.co.uk
Subject: Re: Attempt at work around of int4 query won't touch int8 index ...
In-Reply-To: <20030916084448.A24702@bacon>
References: <2756862E-E3F5-11D7-8513-000A9566A412@socialserve.com> <20901.1063248257@sss.pgh.pa.us> <3F65BABC.32672.38837688@localhost> <20030916084448.A24702@bacon>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox