Re: Arrya variable as argument to IN expression

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Emil Kaffeshop <emildg(at)yahoo(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Arrya variable as argument to IN expression
Date: 2005-11-17 14:23:37
Message-ID: 25702.1132237417@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Emil Kaffeshop <emildg(at)yahoo(dot)com> writes:
> SELECT b IN (a) INTO flag; !!! does not work

> Is it legal to expect the array to be interpret as
> list of integers which IN expression takes ?

No. But try "b = any (a)".

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message codeWarrior 2005-11-17 16:00:43 Re: idea for a geographically distributed database: how best to implement?
Previous Message Achilleus Mantzios 2005-11-17 09:51:31 Re: Arrya variable as argument to IN expression