pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bernd Helmle <mailings@oopsware.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: pg_dump vs. idle_in_transaction_session_timeout
Date: Wed, 15 Jun 2016 09:40:06 -0400
Message-ID: <16818.1465998006@sss.pgh.pa.us> (raw)
In-Reply-To: <352F9B77DB5D3082578D17BB@eje.land.credativ.lan>
References: <352F9B77DB5D3082578D17BB@eje.land.credativ.lan>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Bernd Helmle <mailings@oopsware.de> writes:
> Currently pg_dump doesn't turn off idle_in_transaction_session_timeout.

Definitely an oversight, since it turns off other timeout settings.

> Okay, the window of failure here is very narrow (on my machine it breaks
> with an insane setting of 1ms only),

Probably if you were using parallel dump or restore, it could be a lot
more fragile, since an individual worker session might have nothing to
do for some period of time.

Will fix if no one beats me to it.

			regards, tom lane


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



view thread (2+ messages)

Message-ID: <16818.1465998006@sss.pgh.pa.us>
Permalink:  ../16818.1465998006@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16818.1465998006@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mailings@oopsware.de
  Subject: Re: pg_dump vs. idle_in_transaction_session_timeout
  In-Reply-To: <16818.1465998006@sss.pgh.pa.us>
  References: <352F9B77DB5D3082578D17BB@eje.land.credativ.lan> <16818.1465998006@sss.pgh.pa.us>

* 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