pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Force idle_in_transaction_session_timeout off in pg_dump and aut
Date: Wed, 15 Jun 2016 14:53:12 +0000
Message-ID: <E1bDCBs-0007Em-6K@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Force idle_in_transaction_session_timeout off in pg_dump and autovacuum.

We disable statement_timeout and lock_timeout during dump and restore, to
prevent any global settings that might exist from breaking routine backups.
Commit c6dda1f48 should have added idle_in_transaction_session_timeout to
that list, but failed to.

Another place where these timeouts get turned off is autovacuum.  While
I doubt an idle timeout could fire there, it seems better to be safe than
sorry.

pg_dump issue noted by Bernd Helmle, the other one found by grepping.

Report: <352F9B77DB5D3082578D17BB@eje.land.credativ.lan>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8383486f108c650b187358bfe811060627c751c9

Modified Files
--------------
src/backend/postmaster/autovacuum.c  | 12 ++++++++----
src/bin/pg_dump/pg_backup_archiver.c |  7 ++++---
src/bin/pg_dump/pg_dump.c            |  2 ++
3 files changed, 14 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1bDCBs-0007Em-6K@gemulon.postgresql.org>
Permalink:  ../E1bDCBs-0007Em-6K@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bDCBs-0007Em-6K@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Force idle_in_transaction_session_timeout off in pg_dump and aut
  In-Reply-To: <E1bDCBs-0007Em-6K@gemulon.postgresql.org>
  References: <E1bDCBs-0007Em-6K@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox