Re: Scope of constraint names

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Scope of constraint names
Дата
Msg-id 1025732431.250.30.camel@jester
обсуждение исходный текст
Ответ на Re: Scope of constraint names  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Scope of constraint names  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I don't buy that argument even for foreign keys --- and remember that
> pg_constraint will also hold entries for CHECK, UNIQUE, and PRIMARY KEY
> constraints.  I don't want to have to take a global lock whenever we
> create an index.

I don't understand why a global lock is necessary -- and not simply a
lock on the pg_constraint table and the relations the constraint is
applied to (foreign key locks two, all others one).





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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: libpq++ build problems
Следующее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Compiling PostgreSQL with Intel C Compiler 6.0