Re: someone working to add merge?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: someone working to add merge?
Дата
Msg-id 10365.1132064876@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: someone working to add merge?  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: someone working to add merge?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> This only happens because of the unique index.  There's no predicate
> locking involved.  The btree code goes some lengths to make this work;

That's one way to look at it; the other is to say that we have predicate
locking for a very specific class of predicate, ie, equality of a
unique key.

In practice I think we only have a useful lock there for *primary* keys,
because unique without NOT NULL doesn't actually constrain you to just
one matching row ...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Long-time 7.4 contrib failure Mac OS X 10.3.8
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Fixes for 8.1 run of pgindent