Re: does reindex need exclusive table access?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: does reindex need exclusive table access?
Дата
Msg-id 29331.1320243114@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: does reindex need exclusive table access?  (Vincent de Phily <vincent.dephily@mobile-devices.fr>)
Список pgsql-general
Vincent de Phily <vincent.dephily@mobile-devices.fr> writes:
> The technique kinda works (with some changes) using unique indexes however. Is
> there a functional difference between a unique index and a primary key index
> (knowing that my column is not null) ? Or is it just for documentation and ORM
> purposes ?

The only functional difference is that a foreign key declaration
referring to the table ("REFERENCES tabname") will default to the pkey
column list.  If you haven't got a declared pkey then you have to spell
out the column list.

            regards, tom lane

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

Предыдущее
От: Vincent de Phily
Дата:
Сообщение: Re: does reindex need exclusive table access?
Следующее
От: Samba
Дата:
Сообщение: equivalent to "replication_timeout" on standby server