concurrent repack: check there are no leftover toast attribs

Álvaro Herrera <alvherre@kurilemu.de>

Commit: e2a8cabc47f9502d26b1212851b6d43e5c06df22
Author: Álvaro Herrera <alvherre@kurilemu.de>
Date: 2026-06-16T12:26:31Z
concurrent repack: check there are no leftover toast attribs

Upon reading attributes from the file of concurrent changes, verify that
none are left over unprocessed after we read all columns for the tuple.
This should never happen, so add an elog(ERROR) for it.

While at it, downgrade a nearby message from ereport() to elog().  These
things should never happen.

Author: Aleksander Alekseev <aleksander@tigerdata.com>
Discussion: https://postgr.es/m/CAJ7c6TMSF7cANU8nEJ9E28EvU74tE4H7AzT292Rt3ZuHqqxq8w@mail.gmail.com

Files

PathChange+/−
src/backend/commands/repack.c modified +6 −3

Discussion

Cited messages not in the archive: CAJ7c6TMSF7cANU8nEJ9E28EvU74tE4H7AzT292Rt3ZuHqqxq8w@mail.gmail.com