While looking these patches over I noticed that we still have some error
reports cases uncovered. Here's a quick attempt to try and complete
that.
After this patch I see only one uncovered error path, the one that
prevents repacking a temp table of another session. That would require
an isolation test. Not sure it's worth the trouble ... (There's a
bunch of uncovered "elog(ERROR)" cases, but those are mostly just
can't-happen conditions, as I understand).
--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/