We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cd6f2f commit 6c4ad7fCopy full SHA for 6c4ad7f
contrib/mmts/multimaster.c
@@ -2512,12 +2512,12 @@ MtmCreateLocalTableMap(void)
2512
HASHCTL info;
2513
HTAB* htab;
2514
memset(&info, 0, sizeof(info));
2515
- info.keysize = sizeof(Oid);
+ info.entrysize = info.keysize = sizeof(Oid);
2516
htab = ShmemInitHash(
2517
"MtmLocalTables",
2518
MULTIMASTER_MAX_LOCAL_TABLES, MULTIMASTER_MAX_LOCAL_TABLES,
2519
&info,
2520
- 0
+ HASH_ELEM
2521
);
2522
return htab;
2523
}
0 commit comments