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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy