Skip site navigation (1) Skip section navigation (2)

Re: Polymorphic arguments and composite types

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Polymorphic arguments and composite types
Date: 2007-10-05 17:32:10
Message-ID: 20071005102528.A9134@megazone.bigpanda.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, 5 Oct 2007, Simon Riggs wrote:

> Because we already do exactly that here:
>
> 	select 1, (select col2 from c), 3;
>
> The inner select returns a ROW, yet we treat it as a single column
> value.

The inner select does not return a row. It's not a <row subquery>, it's a
<scalar subquery>.

In response to

Responses

pgsql-hackers by date

Next:From: Michael MeskesDate: 2007-10-05 17:41:44
Subject: Re: Not *quite* there on ecpg fixes
Previous:From: Tom LaneDate: 2007-10-05 17:18:54
Subject: Re: Polymorphic arguments and composite types

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group