Re: Fix for tablename in targetlist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix for tablename in targetlist
Дата
Msg-id 7507.990318213@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix for tablename in targetlist  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: External search engine, advice
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fix for tablename in targetlist