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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-06-08T21:09:20Z
Lists: pgsql-hackers
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.

			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.