Re: Rename or Re-Create Constraints?

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Rename or Re-Create Constraints?
Дата
Msg-id 201104091530.18037.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на Re: Rename or Re-Create Constraints?  (Carlos Mennens <carlos.mennens@gmail.com>)
Список pgsql-general
On Saturday, April 09, 2011 2:59:06 pm Carlos Mennens wrote:
>
>
> Is there a difference between an INDEX and a CONSTRAINT?

Oops forgot to add this to my previous reply.

The short version, an INDEX is one form of a CONSTRAINT. For the long version
look at the CREATE TABLE section of the docs. It shows the various CONSTRAINTS
available for both columns and tables i.e NOT NULL, FOREIGN KEY, etc

--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Rename or Re-Create Constraints?
Следующее
От: Gordon Shannon
Дата:
Сообщение: Re: could not access status of transaction 1118722281