Re: Polymorphic arguments and composite types

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Polymorphic arguments and composite types
Дата
Msg-id 1191606783.4223.430.camel@ebony.site
обсуждение исходный текст
Ответ на Re: Polymorphic arguments and composite types  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Ответы Re: Polymorphic arguments and composite types  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-hackers
On Fri, 2007-10-05 at 10:32 -0700, Stephan Szabo wrote:
> 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>.

Thanks Stephan, Tom already explained that.

My comments above were in response to "Why would you think that?"

--  Simon Riggs 2ndQuadrant  http://www.2ndQuadrant.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Polymorphic arguments and composite types
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Polymorphic arguments and composite types