Re: Patch: dumping tables data in multiple chunks in pg_dump

From: Hannu Krosing <hannuk(at)google(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, David Rowley <dgrowleyml(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Patch: dumping tables data in multiple chunks in pg_dump
Date: 2026-01-15 09:46:36
Message-ID: CAMT0RQSudopnkyrk+k=5naHo2GiOcJsSGQBOfF1ovsbTs7N6Ew@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 14, 2026 at 11:17 PM Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> Hi,
>
> On 2026-01-14 23:10:38 +0100, Hannu Krosing wrote:
> > Is this the whole guidelines we have for this ?
>
> I don't think we have more written down in a central place.
>
>
> > Did not recognise it at once, but I assume that this implies also
> > things about backporting, as only way to backport something is to put
> > it in a minor release.
>
> Correct.

Thanks for confirming!

> > I was hoping that there were some exceptions possible for things
> > affecting interactions between different versions that need also
> > support from older versions, but if this page is all we have then
> > likely not.
>
> I think we have made maybe a handful of exceptions over the years, not more.
>
> > Do we have the same strict no improvements in minor versions policy
> > for contrib/ extensions and tools?
>
> Yes.

I have confirmed that one can not load a -Fd dump from newer version
of pg_dump using an older version of pg_restore.
It plainly refuses without even trying.

~/tmp$ /usr/lib/postgresql/17/bin/pg_dump -p 5433 -Fd testload -f dump17
~/tmp$ /usr/lib/postgresql/16/bin/pg_restore -p 5432 -C -d postgres dump17
pg_restore: error: unsupported version (1.16) in file header

Have we thought of other ways than backporting for supporting clients
who may improvements for older versions ?
I know that 2ndQuardrant maintained its own distribution for a while
for enterprise customers who absolutely needed some improvements.
Could PGDG repos, for example, have a separate "unofficial" backports
section for this?

----
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2026-01-15 09:48:35 RE: Exit walsender before confirming remote flush in logical replication
Previous Message Heikki Linnakangas 2026-01-15 09:42:14 Re: refactor architecture-specific popcount code