Re: Weird message when creating PK constraint named like table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Weird message when creating PK constraint named like table
Дата
Msg-id 28874.1326324245@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Weird message when creating PK constraint named like table  (r d <rd0002@gmail.com>)
Список pgsql-bugs
r d <rd0002@gmail.com> writes:
> The SQLSTATE 42P07 is described in the manual as only as "table undefined",
> and it is not clear if the intent is to allow or
> disallow the creation of a constraint called the same as the table in
> Postgresql.

Where do you see that?  In Appendix A that code is listed as
"duplicate_table", which is exactly what the problem is (well, as long
as you know that tables and indexes share the same namespace in PG).

            regards, tom lane

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: BUG #6394: Transacciones concurrentes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Botched estimation in eqjoinsel_semi for cases without reliable ndistinct