Re: Hot Standby - ERROR: canceling statement due to conflict with recovery

From: Francois <lacouf(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Hot Standby - ERROR: canceling statement due to conflict with recovery
Date: 2012-04-12 20:39:48
Message-ID: 1334263188394-5636744.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

One solution, for backups anyway, is to pause the replication on the slave
machines with the command: pg_xlog_replay_pause() and
pg_xlog_replay_resume(). We still don't have a solution for long running
queries, mayber have a mechanism to retry them when they fail with that
specific error.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Hot-Standby-ERROR-canceling-statement-due-to-conflict-with-recovery-tp3402417p5636744.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2012-04-12 20:48:30 Re: Two entries with the same primary key
Previous Message Gauthier, Dave 2012-04-12 18:50:04 regexp operator for array element compares needed