inval-inconsistent.patch
text/x-diff
Filename: inval-inconsistent.patch
Type: text/x-diff
Part: 0
Message:
Re: Large objects and out-of-memory
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/backend/utils/cache/inval.c | 2 | 2 |
diff --git a/src/backend/utils/cache/inval.c b/src/backend/utils/cache/inval.c
index 628d6f5d0c..e7279d06a3 100644
--- a/src/backend/utils/cache/inval.c
+++ b/src/backend/utils/cache/inval.c
@@ -622,9 +622,9 @@ LocalExecuteInvalidationMessage(SharedInvalidationMessage *msg)
else if (msg->id == SHAREDINVALSNAPSHOT_ID)
{
/* We only care about our own database and shared catalogs */
- if (msg->rm.dbId == InvalidOid)
+ if (msg->sn.dbId == InvalidOid)
InvalidateCatalogSnapshot();
- else if (msg->rm.dbId == MyDatabaseId)
+ else if (msg->sn.dbId == MyDatabaseId)
InvalidateCatalogSnapshot();
}
else