Re: TIP 9: the planner will ignore... & datatypes

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Marc Mamin <m(dot)mamin(at)gmx(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: TIP 9: the planner will ignore... & datatypes
Date: 2005-06-01 13:40:09
Message-ID: 20050601134009.GA23141@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, Jun 01, 2005 at 11:45:06AM +0200, Marc Mamin wrote:
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
>
> But INT2, INT4, INT8 and "SERIAL" are considered to be a unique datatype.
> Am I Right?

No, they weren't when this tip was written. As of 8.0 however this tip
is no longer the complete truth; we do allow cross-type index scans.

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"I suspect most samba developers are already technically insane...
Of course, since many of them are Australians, you can't tell." (L. Torvalds)

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2005-06-01 14:39:59 Re: How to avoid database bloat
Previous Message Martin Fandel 2005-06-01 10:26:29 Re: postgresql-8.0.1 performance tuning