pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcus Vinicius <marcusv.listas@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Lists (In) performance
Date: Wed, 6 Sep 2006 09:45:16 -0300
Message-ID: <9f394b1c0609060545v3962f369g22180ca5f4975092@mail.gmail.com> (raw)

Hi,

Is the use of lists "Where field IN ('A',...'Z')" faster than using
multiple conditions like "Where field = 'A' OR .... field = 'Z'" ? In
every situation ? Depends on what ?

Note: (I guess im mistaken, but i remeber seeing that at the pgsql
manual somewhere)

Thanks

Marcus



Message-ID: <9f394b1c0609060545v3962f369g22180ca5f4975092@mail.gmail.com>
Permalink:  ../9f394b1c0609060545v3962f369g22180ca5f4975092@mail.gmail.com/
Also on:    postgresql.org/message-id/9f394b1c0609060545v3962f369g22180ca5f4975092@mail.gmail.com

 · 

reply

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: marcusv.listas@gmail.com
  Subject: Re: Lists (In) performance
  In-Reply-To: <9f394b1c0609060545v3962f369g22180ca5f4975092@mail.gmail.com>
  References: <9f394b1c0609060545v3962f369g22180ca5f4975092@mail.gmail.com>

* 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