Re: Fix for tablename in targetlist

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix for tablename in targetlist
Date: 2001-05-20 00:23:33
Message-ID: 7507.990318213@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> No really, I don't see a point of not enforcing the correct syntax, when
> adding '.*' is all it takes to get the alternative behaviour in a standard
> way.

True, although there's a certain inconsistency in allowing a whole row
to be passed to a function by

select foo(pg_class) from pg_class;

and not allowing the same row to be output by

select pg_class from pg_class;

I don't feel strongly about it though.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-05-20 00:26:00 Re: Fix for tablename in targetlist
Previous Message Tom Lane 2001-05-20 00:20:22 Re: External search engine, advice