pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emil Kaffeshop <emildg@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Arrya variable as argument to IN expression
Date: Thu, 17 Nov 2005 00:28:51 -0800 (PST)
Message-ID: <20051117082851.65703.qmail@web32704.mail.mud.yahoo.com> (raw)

Hello I am trying the following:
a INTEGER[] := ''{10,15,20}'';
b INTEGER := 15;
flag BOOLEAN := FALSE;

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 ?

Best Regards
Emil kafegiiski



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



view thread (4+ messages)  latest in thread

Message-ID: <20051117082851.65703.qmail@web32704.mail.mud.yahoo.com>
Permalink:  ../20051117082851.65703.qmail@web32704.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20051117082851.65703.qmail@web32704.mail.mud.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: emildg@yahoo.com
  Subject: Re: Arrya variable as argument to IN expression
  In-Reply-To: <20051117082851.65703.qmail@web32704.mail.mud.yahoo.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