First part of refactoring of code for ResolveRecoveryConflict. Purposes
authorSimon Riggs <simon@2ndquadrant.com>
Thu, 14 Jan 2010 11:08:02 +0000 (11:08 +0000)
committerSimon Riggs <simon@2ndquadrant.com>
Thu, 14 Jan 2010 11:08:02 +0000 (11:08 +0000)
commit0f5db11710be40e935d57f8531bb4f91da4d17be
tree81cf376f1172a7c5450a0f1b8a1edebd28cc8575
parent20c10f6a58d5e15b0ed6b8171a30322ee77135bc
First part of refactoring of code for ResolveRecoveryConflict. Purposes
of this are to centralise the conflict code to allow further change,
as well as to allow passing through the full reason for the conflict
through to the conflicting backends. Backend state alters how we
can handle different types of conflict so this is now required.
As originally suggested by Heikki, no longer optional.
src/backend/access/heap/heapam.c
src/backend/access/nbtree/nbtxlog.c
src/backend/commands/dbcommands.c
src/backend/commands/tablespace.c
src/backend/storage/ipc/standby.c
src/include/storage/standby.h