Re: OR or IN ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrus" <kobruleht2(at)hot(dot)ee>
Cc: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: OR or IN ?
Date: 2008-10-17 16:37:39
Message-ID: 19328.1224261459@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Andrus" <kobruleht2(at)hot(dot)ee> writes:
> No. I need to support 8.0.
> After those crashes I changed all IN clauses to
> docid = ANY ({1,2,3,4,5,7,8,96,5445,.., 34534534})

I'm afraid that hardly counts as "supporting" 8.0 (or 8.1 for that
matter). The syntax may work but it can't be indexed.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message André Volpato 2008-10-17 16:42:35 Re: VACUUM PANIC: corrupted item pointer
Previous Message Ben 2008-10-17 16:35:41 deferred triggers?