public inbox for [email protected]
help / color / mirror / Atom feedFrom: Pawel Veselov <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: [email protected]
Subject: Re: Dump version issues
Date: Wed, 23 Apr 2025 22:02:25 +0200
Message-ID: <CAMnJ+BdUEu2vNxCEzMtOq2tYPGx2ag1Djm-nP41fPUVV35kY9g@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAMnJ+Bet04kPY8KFxKA6tYaCGmxEhwvYoPZ1eGOHoVAJp=1rKA@mail.gmail.com>
<[email protected]>
On Wed, Apr 23, 2025 at 9:13 PM Adrian Klaver <[email protected]> wrote:
> On 4/23/25 11:46, Pawel Veselov wrote:
> > Hello.
>
> > So, how come older software (according to versions) produces dump
> > files with a greater version
> > than the newer software can understand? Is this Ubuntu package
> > maintainers messing things up?
>
> Do:
>
> man postgresql-common
>
> to see how this handled.
>
> I have found that it is best to be explicit using the --cluster option.
Thank you, I would have never guessed.
$ pg_dump -V -h x
pg_dump (PostgreSQL) 17.4 (Ubuntu 17.4-1.pgdg22.04+2)
$ pg_dump -V
pg_dump (PostgreSQL) 12.20 (Ubuntu 12.20-0ubuntu0.20.04.1)
(facepalm)
I was using the latter checking what pg_dump version was actually being used.
Wasn't aware of this pg_wrapper business.
> Given a pg_dump, it would be nice if its "-V" output would say which
> version of the dump it would produce
Yeah, this wouldn't have helped a bit.
view thread (2+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Dump version issues
In-Reply-To: <CAMnJ+BdUEu2vNxCEzMtOq2tYPGx2ag1Djm-nP41fPUVV35kY9g@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox