From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Mitch Pirtle <mitch.pirtle@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: SQL Performance Guidelines
Date: Thu, 27 Jan 2005 15:19:41 +0000
Message-ID: <41F9068D.4080507@familyhealth.com.au> (raw)
In-Reply-To: <330532b605012706502e298c77@mail.gmail.com>
References: <A3FF4275060B76459B5C08A64AE330C869CE@twmail.esncc.com>
<CA5A792A-7039-11D9-9A75-000A957659CC@spy.net>
<330532b605012706502e298c77@mail.gmail.com>
> For example, IIRC when joining an integer column with a SERIAL column,
> you must expicitly cast it as an integer or the planner will not use
> the indexes, right? (This is a guess, as I remember reading something
> like this and thinking, "How in the world is someone supposed to
> figure that out, even with EXPLAIN?")
That's not true at all. Perhaps you're thinking about BIGSERIAL and
int8 indexes - something that's been addressed in 8.0.
Chris
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: chriskl@familyhealth.com.au, mitch.pirtle@gmail.com
Subject: Re: SQL Performance Guidelines
In-Reply-To: <41F9068D.4080507@familyhealth.com.au>
References: <A3FF4275060B76459B5C08A64AE330C869CE@twmail.esncc.com> <CA5A792A-7039-11D9-9A75-000A957659CC@spy.net> <330532b605012706502e298c77@mail.gmail.com> <41F9068D.4080507@familyhealth.com.au>
* 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