pgsql: Unbreak lock conflict detection for Hot Standby.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Unbreak lock conflict detection for Hot Standby.
Дата
Msg-id E1TwFZD-0001lj-1y@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Unbreak lock conflict detection for Hot Standby.

This got broken in the original fast-path locking patch, because
I failed to account for the fact that Hot Standby startup process
might take a strong relation lock on a relation in a database to
which it is not bound, and confused MyDatabaseId with the database
ID of the relation being locked.

Report and diagnosis by Andres Freund.  Final form of patch by me.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8d1fbf947dca155f6a1ad24c80c6152e65208969

Modified Files
--------------
src/backend/storage/lmgr/lock.c |   12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Improve pg_upgrade error report
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Unbreak lock conflict detection for Hot Standby.