Re: data integrity and inserts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: data integrity and inserts
Дата
Msg-id 829.1102018788@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: data integrity and inserts  ("Ian Harding" <iharding@tpchd.org>)
Список pgsql-general
"Ian Harding" <iharding@tpchd.org> writes:
> The second is shorthand for the first.  you get to choose the index name
> in the first one.

IIRC you can force the index name in the second case too, by using
the fully unabbreviated CONSTRAINT syntax:

     ..., CONSTRAINT indexname UNIQUE(colname), ...

            regards, tom lane

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

Предыдущее
От: "ON.KG"
Дата:
Сообщение: Select Database
Следующее
От: Timothy Perrigo
Дата:
Сообщение: Re: data integrity and inserts