OSDN Git Service

>> Hm. I'd sort of expect the "z" to become both the table and column
authorBruce Momjian <bruce@momjian.us>
Tue, 6 Aug 2002 05:34:10 +0000 (05:34 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 6 Aug 2002 05:34:10 +0000 (05:34 +0000)
commit4f63e11646dad37f5bb8445d8699f952801b7f8a
treef9e388e9bbdb9102c9aac23e6f1fe1fb856ad0c8
parentdd6513a5b662e0a3e0de378f616741b7d77f3d32
>> Hm.  I'd sort of expect the "z" to become both the table and column
>> alias in this case.  What do you think?
>
> I guess that would make sense. I'll make a separate patch just for
that
> change if that's OK.
>

Simple change -- patch attached.

test=# select * from myfoo1() as z;
  z
----
   1
   2
   3
(3 rows)

Joe Conway
src/backend/parser/parse_relation.c