pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: chandu_munnu@yahoo.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16308: pg_restore: [archiver (db)] could not execute query: ERROR: unrecognized configuration parameter "i
Date: Wed, 18 Mar 2020 10:20:09 -0400
Message-ID: <941.1584541209@sss.pgh.pa.us> (raw)
In-Reply-To: <0980BAC2-C30E-4439-A1D0-BE4FA4EF5666@yesql.se>
References: <16308-74f9ff953018bafa@postgresql.org>
	<0980BAC2-C30E-4439-A1D0-BE4FA4EF5666@yesql.se>

Daniel Gustafsson <daniel@yesql.se> writes:
> On 18 Mar 2020, at 13:12, PG Bug reporting form <noreply@postgresql.org> wrote:
>> pg_restore: [archiver (db)] Error while PROCESSING TOC:
>> pg_restore: [archiver (db)] Error from TOC entry 3796; 0 0 SEARCHPATH
>> SEARCHPATH
>> pg_restore: [archiver (db)] could not execute query: ERROR:  unrecognized
>> configuration parameter "idle_in_transaction_session_timeout"
>> Command was: SET idle_in_transaction_session_timeout = 0;

> idle_in_transaction_session_timeout only exist starting with 9.6, so it sounds
> like you are restoring a dump made by a newer version of pg_dump.  You should
> be using the version of pg_dump which match the server version you are
> restoring into.

Or, if that's the only error you get, you could just ignore it.
It's harmless enough, as long as you don't insist on a single-transaction
restore.  (If you do need that, dump pg_restore's output into a file
and remove the offending SET.)

> On that note, it seems that the 9.4 and 9.5 release notes reference the GUC in
> question, even though the commit message correctly states the GUC is only in
> 9.6 and newer.  To avoid confusion, I suggest that we remove the reference in
> the back-branches as per the attached.

My bad, I'll see about fixing that (in 9.5; it's too late for 9.4).

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <941.1584541209@sss.pgh.pa.us>
Permalink:  ../941.1584541209@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/941.1584541209@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, daniel@yesql.se, chandu_munnu@yahoo.com
  Subject: Re: BUG #16308: pg_restore: [archiver (db)] could not execute query: ERROR: unrecognized configuration parameter "i
  In-Reply-To: <941.1584541209@sss.pgh.pa.us>
  References: <16308-74f9ff953018bafa@postgresql.org> <0980BAC2-C30E-4439-A1D0-BE4FA4EF5666@yesql.se> <941.1584541209@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