Re: or kills performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sim Zacks" <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: or kills performance
Date: 2005-08-30 15:26:30
Message-ID: 21933.1125415590@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Sim Zacks" <sim(at)compulab(dot)co(dot)il> writes:
> Does it make sense for a simple or in a where clause to kill performance?

Did you get the parenthesization correct? Remember that AND binds more
tightly than OR.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hossein S. Attar 2005-08-30 15:32:11 Re: postgres optimizer
Previous Message Hannes Dorbath 2005-08-30 15:25:28 Re: Php abstraction layers