Re: question about client/server version mismatches - Mailing list pgsql-general

From Michael Paquier
Subject Re: question about client/server version mismatches
Date
Msg-id 20190813031009.GG2551@paquier.xyz
Whole thread Raw
In response to question about client/server version mismatches  (raf <raf@raf.org>)
List pgsql-general
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

Attachment

pgsql-general by date:

Previous
From: raf
Date:
Subject: question about client/server version mismatches
Next
From: "James(王旭)"
Date:
Subject: Re: How to gracefully keep my specific index in memory ?