Re: BUG #19003: A SELECT that does not return a valid table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #19003: A SELECT that does not return a valid table
Дата
Msg-id 1675174.1753911281@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #19003: A SELECT that does not return a valid table  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #19003: A SELECT that does not return a valid table
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> SELECT 'John' AS nom,'James' AS nom
> returns a table with attributes nom and nom that I can see in the output.
> Returning a table that contains twice the same column should not be
> permitted.

There is pretty much zero chance that we will enforce that
restriction.  It would break too much application code.
Also, it looks to me like there is no such requirement in
the SQL standard.

            regards, tom lane



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