Fix relcache init file invalidation during Hot Standby for the case
Simon Riggs <simon@2ndQuadrant.com>
Fix relcache init file invalidation during Hot Standby for the case where a database has a non-default tablespaceid. Pass thru MyDatabaseId and MyDatabaseTableSpace to allow file path to be re-created in standby and correct invalidation to take place in all cases. Update and rework xact_commit_desc() debug messages. Bug report from Tom by code inspection. Fix by me.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xact.c | modified | +15 −7 |
| src/backend/utils/cache/inval.c | modified | +8 −74 |
| src/include/access/xact.h | modified | +4 −2 |
| src/include/storage/sinval.h | modified | +3 −2 |