Ensure that catcache 'busy' flags are reset at transaction abort.
Tom Lane <tgl@sss.pgh.pa.us>
Ensure that catcache 'busy' flags are reset at transaction abort. Without this, an elog during cache-entry load leaves that catcache unusable. elog in that segment of code is pretty unusual but it can happen.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xact.c | modified | +3 −1 |
| src/backend/utils/cache/catcache.c | modified | +33 −7 |
| src/include/utils/catcache.h | modified | +2 −1 |