pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jesper Krogh <jesper@krogh.cc>
Cc: Aaron Bono <postgresql@aranya.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: The empty list?
Date: Fri, 03 Nov 2006 02:02:25 -0500
Message-ID: <27240.1162537345@sss.pgh.pa.us> (raw)
In-Reply-To: <454AE5B5.4050106@krogh.cc>
References: <454A654B.2000306@krogh.cc>
	<21991.1162506863@sss.pgh.pa.us>
	<bf05e51c0611021443q27b1012bt9236ca595e1f03c2@mail.gmail.com>
	<454ADB6F.9070602@krogh.cc>
	<26899.1162535774@sss.pgh.pa.us>
	<454AE5B5.4050106@krogh.cc>

Jesper Krogh <jesper@krogh.cc> writes:
> Tom Lane wrote:
>> FWIW, as of 8.2 the best option will probably be to use
>> "col = ANY (array)", which does support zero-length arrays
>> if you use either an out-of-line parameter or an array literal.

> That looks nice.. is ANY in the SQL-spec?

ANY is, but I think only in the form "var = ANY (SELECT ...)".

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <27240.1162537345@sss.pgh.pa.us>
Permalink:  ../27240.1162537345@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27240.1162537345@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jesper@krogh.cc, postgresql@aranya.com
  Subject: Re: The empty list?
  In-Reply-To: <27240.1162537345@sss.pgh.pa.us>

* 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