From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Subject: Re: index / sequential scan problem
Date: Thu, 17 Jul 2003 16:48:42 +0530
Message-ID: <3F16D36A.20463.3954D1@localhost> (raw)
In-Reply-To: <5.1.0.14.0.20030717130132.0397b6b0@195.145.148.245>
References: <3F16B712.19311.58D7530@localhost>
On 17 Jul 2003 at 13:12, Fabian Kreitner wrote:
> At 11:17 17.07.2003, Shridhar Daithankar wrote:
> >How about
> >
> > where ma_id = 2001::integer
> >and ma_pid = 1097::integer
> >
> >in above query?
>
> I dont really understand in what way this will help the planner but ill try.
That is typecasting. It helps planner understand query in more correct fashion.
Bye
Shridhar
--
QOTD: "I may not be able to walk, but I drive from the sitting posistion."
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: shridhar_daithankar@persistent.co.in
Subject: Re: index / sequential scan problem
In-Reply-To: <3F16D36A.20463.3954D1@localhost>
References: <3F16B712.19311.58D7530@localhost> <3F16D36A.20463.3954D1@localhost>
* 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