Failing backups, canceling statement due to conflict with recovery - Mailing list pgsql-general

From Stuart Bishop
Subject Failing backups, canceling statement due to conflict with recovery
Date
Msg-id CADmi=6MrdsBDngu3EEz=-Y71nyPeVUBOBgzJPmE+GGxR1ZuAfw@mail.gmail.com
Whole thread Raw
Responses Re: Failing backups, canceling statement due to conflict with recovery  ("René Romero Benavides" <ichbinrene@gmail.com>)
Re: Failing backups, canceling statement due to conflict with recovery  (Sergey Konoplev <gray.ru@gmail.com>)
List pgsql-general
Hi.

I'm unable to offload my backups to one of my PG 9.1 hot standbys
using purely streaming replication. After a few hours, usually on the
same large table, pg_dump is failing with 'ERROR:  canceling statement
due to conflict with recovery'.

From my reading from the documentation, this should not be possible as
my hot standby has 'hot_standby_feedback = on' in its postgresql.conf.

I submitted a bug report a while ago, but am still unsure if this
option has never worked as intended or if I'm misinterpreting the
documentation.

My goal is to reliably make pg_dump backups from a hot standby without
the hot standby lagging far behind the master.

--
Stuart Bishop <stuart@stuartbishop.net>
http://www.stuartbishop.net/

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Guidance on building Foreign Data Wrapper on Windows.
Next
From: Albe Laurenz
Date:
Subject: Re: PG V9 on NFS