pgsql: concurrent repack: check there are no leftover toast attribs - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: concurrent repack: check there are no leftover toast attribs
Date
Msg-id E1wZSuF-000Z3a-2D@gemulon.postgresql.org
Whole thread
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e2a8cabc47f9502d26b1212851b6d43e5c06df22

Modified Files
--------------
src/backend/commands/repack.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: pg_restore: Use dependency-based matching for STATISTICS DATA
Next
From: Álvaro Herrera
Date:
Subject: Re: pgsql: Add CONCURRENTLY option to REPACK