Content-Length: 266939 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6c4ad7f6db214635b8e5c01bdcbc7233b8734180
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
}
Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6c4ad7f6db214635b8e5c01bdcbc7233b8734180
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments