pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: raf <raf@raf.org>
Cc: pgsql-general@postgresql.org
Subject: Re: question about client/server version mismatches
Date: Tue, 13 Aug 2019 12:10:09 +0900
Message-ID: <20190813031009.GG2551@paquier.xyz> (raw)
In-Reply-To: <20190813024535.oamb7x6yx2pjaj6i@raf.org>
References: <20190813024535.oamb7x6yx2pjaj6i@raf.org>

On Tue, Aug 13, 2019 at 12:45:35PM +1000, raf wrote:
> Since the backup itself was from a 9.5.12 server, it
> seems that the 9.6 parameter, idle_in_transaction_session_timeout,
> must have been set by the 9.6 client even though it was
> connected to a 9.5 server. Is that expected behaviour?

Yes, the compatibility of pg_dump is mentioned in the docs, and things
happen so as pg_dump can be used to transfer data to newer versions:
https://www.postgresql.org/docs/devel/app-pgdump.html
Please see from "Because pg_dump is used to transfer data to newer
versions of PostgreSQL...".

So doing a dump from a 9.5 instance using pg_dump from 9.6 would have
set the parameter.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (2+ messages)

Message-ID: <20190813031009.GG2551@paquier.xyz>
Permalink:  ../20190813031009.GG2551@paquier.xyz/
Also on:    postgresql.org/message-id/20190813031009.GG2551@paquier.xyz

 · 

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-general@postgresql.org
  Cc: michael@paquier.xyz, raf@raf.org
  Subject: Re: question about client/server version mismatches
  In-Reply-To: <20190813031009.GG2551@paquier.xyz>
  References: <20190813024535.oamb7x6yx2pjaj6i@raf.org> <20190813031009.GG2551@paquier.xyz>

* 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