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 <[email protected]>
Discussion: 
https://postgr.es/m/caj7c6tmsf7canu8nej9e28evu74te4h7azt292rt3zuhqqx...@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(-)

Reply via email to