Re: pg_restore - cannot to restore blobs in dictionary format from older pg dumps

Pavel Stehule <pavel.stehule@gmail.com>

From: Pavel Stehule <pavel.stehule@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-06-09T04:06:25Z
Lists: pgsql-hackers
ne 8. 6. 2025 v 23:09 odesílatel Tom Lane <tgl@sss.pgh.pa.us> napsal:

> I wrote:
> > I think your patch is about the right thing to do, although I'm
> > inclined to check for K_VERS_1_14 which is closer to when the
> > fix was made.
>
> Pushed.  After thinking about how to rewrite the comment, I went
> with the version test as you had it.  K_VERS_1_14 isn't really
> better, since it's still not an exact match to when the behavior
> changed.
>

Thank you

Pavel


>
>                         regards, tom lane
>

Commits

  1. pg_restore: fix incompatibility with old directory-format dumps.

  2. Rearrange pg_dump's handling of large objects for better efficiency.