Re: Polymorphic arguments and composite types - Mailing list pgsql-hackers

From Stephan Szabo
Subject Re: Polymorphic arguments and composite types
Date
Msg-id 20071005102528.A9134@megazone.bigpanda.com
Whole thread Raw
In response to Re: Polymorphic arguments and composite types  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: Polymorphic arguments and composite types
List 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>.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Polymorphic arguments and composite types
Next
From: Michael Meskes
Date:
Subject: Re: Not *quite* there on ecpg fixes