pgsql: Retry after buffer locking failure during SPGiST index creation.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Retry after buffer locking failure during SPGiST index creation.
Дата
Msg-id E1Vci5e-0008S9-5I@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Retry after buffer locking failure during SPGiST index creation.

The original coding thought this case was impossible, but it can happen
if the bgwriter or checkpointer processes decide to write out an index
page while creation is still proceeding, leading to a bogus "unexpected
spgdoinsert() failure" error.  Problem reported by Jonathan S. Katz.

Teodor Sigaev

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/86dab9c8addd2898abc0feddc4e7f1ef0cd786f4

Modified Files
--------------
src/backend/access/spgist/spgdoinsert.c |    9 ++++++---
src/backend/access/spgist/spginsert.c   |   15 +++++++++++----
2 files changed, 17 insertions(+), 7 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Retry after buffer locking failure during SPGiST index creation.
Следующее
От: Kevin Grittner
Дата:
Сообщение: pgsql: Fix subquery reference to non-populated MV in CMV.