Re: Add cassert-only checks against unlocked use of relations

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Add cassert-only checks against unlocked use of relations
Дата
Msg-id 20131105220344.GM14819@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Add cassert-only checks against unlocked use of relations  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Add cassert-only checks against unlocked use of relations  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2013-11-05 22:35:41 +0100, Andres Freund wrote:
> We could relatively easily optimize that to a constant factor by just
> iterating over the possible lockmodes. Should only take a couple more
> lines.

On that note, any chance you remember why you increased MAX_LOCKMODE by
2 to 10 back in 2001 although AccessExclusiveLock is 8? The relevant
commit is E4fe42dfbc3bafa0ea615239d716a6b37d67da253 .

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Add cassert-only checks against unlocked use of relations
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: UTF8 national character data type support WIP patch and list of open issues.