OSDN Git Service

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)
commite99767bc28d8ef9ea627cd63336b2b74087c0128
tree29cae5f633b1ede8d959daec86aa2bb40170326d
parent0fba3bef558036952f59846a7e7b48e1f5b9e479
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