> > I think the cool thing that Josh Berkus wants is
> > return query select a, b, c from foo;
> > return query select d, e, f from bar;
> maybe better
> SELECT a,b FROM foo;
> SELECT d, e FROM bar;
> procedure doesn't need return statement usually
The background for Quel was, that when selecting all fields from
an inheritance hierarchy you got the additional fields of each child.
Thus the field count and types could vary within one cursor.
Like if you would allow the following:
select a, b::int from foo
select a, c::varchar, d, e from bar
I don't think anybody would want to transfer that idea to sql clients.
In sql the first statement would define field count, name/alias and
The second statement would need to implicitly cast or fail if it does
In response to
pgsql-hackers by date
|Next:||From: Martijn van Oosterhout||Date: 2007-10-30 14:25:33|
|Subject: Re: Multiple trees in parsetree_list|
|Previous:||From: Camilo Porto||Date: 2007-10-30 14:16:39|
|Subject: Re: URGENT HELP about 'duration' stats|