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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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