pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Svenne Krap <svenne@krap.dk>
Cc: Jim C. Nasby <jnasby@pervasive.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance problems with multiple layers of functions
Date: Fri, 24 Mar 2006 14:23:49 -0500
Message-ID: <8427.1143228229@sss.pgh.pa.us> (raw)
In-Reply-To: <4424458D.4060106@krap.dk>
References: <4423EACD.80706@krap.dk>
	<20060324125919.GD90527@pervasive.com>
	<5090.1143216154@sss.pgh.pa.us>
	<4424458D.4060106@krap.dk>

Svenne Krap <svenne@krap.dk> writes:
> Tom Lane wrote:
>> where (flow_direction, dataset_id) in (select * from new_func(122))

> Is this form of multi-column IN mentioned anywhere in the docs? I can't 
> find it.

Sure, look under "Subquery Expressions".  8.0 and later refer to it as a
row_constructor, but it's documented at least as far back as 7.3.

			regards, tom lane



view thread (5+ messages)

Message-ID: <8427.1143228229@sss.pgh.pa.us>
Permalink:  ../8427.1143228229@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8427.1143228229@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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, svenne@krap.dk, jnasby@pervasive.com
  Subject: Re: Performance problems with multiple layers of functions
  In-Reply-To: <8427.1143228229@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