Re: Fix for tablename in targetlist

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fix for tablename in targetlist
Дата
Msg-id Pine.LNX.4.30.0105191005500.758-100000@peter.localdomain
обсуждение исходный текст
Ответ на Fix for tablename in targetlist  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Fix for tablename in targetlist  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Fix for tablename in targetlist  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Bruce Momjian writes:

> This patch fixes the problem by generating an error in the parser:
>
>     test=> select pg_class from pg_class;
>     ERROR:  You can't use a relation alone in a target list.

Maybe it's the parser that's getting it wrong.  What if pg_class has a
column called pg_class?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Problems with avg on interval data type
Следующее
От: Kaare Rasmussen
Дата:
Сообщение: Re: Plans for solving the VACUUM problem