IN clause performance

From: "Pg Coder" <pgcoder(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org(dot)
Subject: IN clause performance
Date: 2007-07-18 22:43:35
Message-ID: f658f8ff0707181543r60fd3dadr68df3fba9747229c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Basic query optimization question- does Postgres process

x IN (y1, y2)
as fast as
(x = y1 OR x = y2)

in a function?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2007-07-18 22:46:38 Re: Sylph-Searcher 1.0.0 released
Previous Message Pat Maddox 2007-07-18 22:34:37 Re: Need help optimizing this query