From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: pg_restore: fix incompatibility with old directory-format dumps. |
Date: | 2025-06-08 21:06:59 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
pg_restore: fix incompatibility with old directory-format dumps.
pg_restore failed to restore large objects (blobs) out of
directory-format dumps made by versions before PG v12.
That's because, due to a bug fixed in commit 548e50976, those
old versions put the wrong filename into the BLOBS TOC entry.
Said bug was harmless before v17, because we ignored the
incorrect filename field --- but commit a45c78e32 assumed it
would be correct.
Reported-by: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Author: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/CAFj8pRCrZ=_e1Rv1N+6vDaH+6gf=9A2mE2J4RvnvKA1bLiXvXA@mail.gmail.com
Backpatch-through: 17
Branch
------
REL_17_STABLE
Modified Files
--------------
src/bin/pg_dump/pg_backup_directory.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2025-06-10 05:14:42 | pgsql: Use exported symbols list on macOS for loadable modules as well |
Previous Message | Etsuro Fujita | 2025-06-08 08:45:23 | Re: pgsql: postgres_fdw: Inherit the local transaction's access/deferrable |