On Thu, 2010-05-06 at 11:36 +0200, Florian Pflug wrote: > If there was an additional SQL-callable function that returned the backends > the recovery process is currently waiting for, plus one that reported that > last timestamp seen in the WAL, than all those different cancellation > policies could be implemented as daemons that monitor recovery and kill > backends as needed, no? > > That would allow people to experiment with different cancellation policies, > and maybe shed some light on what the useful policies are in practice.
It would be easier to implement a conflict resolution plugin that is called when a conflict occurs, allowing users to have a customisable mechanism. Again, I have no objection to that proposal. -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers