Re: Doc patch: Document names of automatically created constraints and indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Doc patch: Document names of automatically created constraints and indexes
Дата
Msg-id 29282.1352738400@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Doc patch: Document names of automatically created constraints and indexes  ("Karl O. Pinc" <kop@meme.com>)
Ответы Re: Doc patch: Document names of automatically created constraints and indexes  ("Karl O. Pinc" <kop@meme.com>)
Список pgsql-hackers
"Karl O. Pinc" <kop@meme.com> writes:
> Attached is a patch (against head) which documents the
> name of the constraint and index created when using
> PRIMARY KEY with CREATE TABLE, and the name of the
> index created when using UNIQUE.  I haven't read all
> the docs recently but I don't believe this is presently
> documented.

This is not actually correct: it ignores the corner cases where the name
would be overlength or conflict with something else.

Personally I don't think this should be documented, as it's an
implementation detail that we've changed in the past and may change
again.
        regards, tom lane



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Enabling Checksums
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Further pg_upgrade analysis for many tables