Re: planner doesn't use multicolumn index

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: Adrian Demaestri <ademaestri(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: planner doesn't use multicolumn index
Date: 2003-10-08 14:35:24
Message-ID: vv78ov80ffnvhhbrnj0f3qbhopaimnr63k@email.aon.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, 8 Oct 2003 09:08:59 -0500 (CDT), Adrian Demaestri
<ademaestri(at)yahoo(dot)com> wrote:
>the type of the fields are int2 and
>int4, the where condition is v.g. partido=99 and partida=123).

Write your search condition as

WHERE partido=99::int2 and partida=123

Servus
Manfred

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Sullivan 2003-10-08 14:48:55 Re: Sun performance - Major discovery!
Previous Message Shridhar Daithankar 2003-10-08 14:27:38 Re: planner doesn't use multicolumn index