Content-Length: 266939 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6c4ad7f6db214635b8e5c01bdcbc7233b8734180

25 Fix PGPRO-717 · postgrespro/postgres_cluster@6c4ad7f · GitHub
Skip to content

Commit 6c4ad7f

Browse files
committed
Fix PGPRO-717
1 parent 3cd6f2f commit 6c4ad7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/mmts/multimaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,12 +2512,12 @@ MtmCreateLocalTableMap(void)
25122512
HASHCTL info;
25132513
HTAB* htab;
25142514
memset(&info, 0, sizeof(info));
2515-
info.keysize = sizeof(Oid);
2515+
info.entrysize = info.keysize = sizeof(Oid);
25162516
htab = ShmemInitHash(
25172517
"MtmLocalTables",
25182518
MULTIMASTER_MAX_LOCAL_TABLES, MULTIMASTER_MAX_LOCAL_TABLES,
25192519
&info,
2520-
0
2520+
HASH_ELEM
25212521
);
25222522
return htab;
25232523
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6c4ad7f6db214635b8e5c01bdcbc7233b8734180

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy