Content-Length: 264839 | pFad | http://github.com/postgrespro/postgres_cluster/commit/1939014fa3500ac23ac61ff3f8a2a9c374e9678b

7D Fix PGPRO-717 · postgrespro/postgres_cluster@1939014 · GitHub
Skip to content

Commit 1939014

Browse files
knizhnikkelvich
authored andcommitted
Fix PGPRO-717
1 parent 0350ae6 commit 1939014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

multimaster.c

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

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/1939014fa3500ac23ac61ff3f8a2a9c374e9678b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy