Re: BUG #16308: pg_restore: [archiver (db)] could not execute query: ERROR: unrecognized configuration parameter "i

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: chandu_munnu(at)yahoo(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16308: pg_restore: [archiver (db)] could not execute query: ERROR: unrecognized configuration parameter "i
Date: 2020-03-18 12:49:05
Message-ID: 0980BAC2-C30E-4439-A1D0-BE4FA4EF5666@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 18 Mar 2020, at 13:12, PG Bug reporting form <noreply(at)postgresql(dot)org> wrote:
>
> The following bug has been logged on the website:
>
> Bug reference: 16308
> Logged by: Chandra
> Email address: chandu_munnu(at)yahoo(dot)com
> PostgreSQL version: 9.5.15
> Operating system: Linux
> Description:
>
> 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.

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.

cheers ./daniel

Attachment Content-Type Size
nonexisting_guc_94.patch application/octet-stream 1.1 KB
nonexisting_guc_95.patch application/octet-stream 1.1 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-03-18 14:20:09 Re: BUG #16308: pg_restore: [archiver (db)] could not execute query: ERROR: unrecognized configuration parameter "i
Previous Message PG Bug reporting form 2020-03-18 12:12:24 BUG #16308: pg_restore: [archiver (db)] could not execute query: ERROR: unrecognized configuration parameter "i