Unique constraint and unique index

Поиск
Список
Период
Сортировка
От Ivan Radovanovic
Тема Unique constraint and unique index
Дата
Msg-id 5214FCDA.7080509@gmail.com
обсуждение исходный текст
Ответы Re: Unique constraint and unique index
Список pgsql-general
Just to verify:
- when unique constraint is created using appropriate syntax rows are
added to tables pg_constraint and pg_index (pg_constraint with type 'u'
and referring to index with indisunique set to true)
- when unique index is created row is added only to pg_index table but
not to pg_constraint table (although in fact that index is behaving like
constraint on table)

Is that correct?

Regards,
Ivan


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

Предыдущее
От: Robert Sosinski
Дата:
Сообщение: Re: Memory Issue with array_agg?
Следующее
От: Joseph Marlin
Дата:
Сообщение: WAL Replication Working but Not Working