Re: BUG #19024: Error when trying to use pg_dump of new server on old server - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #19024: Error when trying to use pg_dump of new server on old server
Date
Msg-id 575930.1755614008@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #19024: Error when trying to use pg_dump of new server on old server  (Kirill Reshke <reshkekirill@gmail.com>)
List pgsql-bugs
Kirill Reshke <reshkekirill@gmail.com> writes:
> I will clarify a little here. The only way to fix this is to add new
> code to REL_17_STABLE for pg version >= 170000 and < 170003.
> Something like, "if postgresql in pg 17 with bug in
> pg_get_constraintdef, do not call pg_get_constraintdef for  contype =
> 'n', but describe it using pg_dump code"
> This is a very difficult solution to maintain in-core, so the only
> advice I can give is no actually update the minor version of the
> server.

No, we're not going to do that.  The correct answer here is "update to
a supported version of the server", namely the latest minor release.

            regards, tom lane



pgsql-bugs by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: BUG #19025: PostgreSQL log is not rotated
Next
From: Masahiko Sawada
Date:
Subject: Re: TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c