Skip to content

Commit aec64e8

Browse files
committed
Fix mistake in extensible node code.
I believe that I (rhaas) introduced this bug while editing the patch that became bcac23d. Report and patch from KaiGai Kohei.
1 parent 7e137f8 commit aec64e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/nodes/extensible.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RegisterExtensibleNodeMethods(const ExtensibleNodeMethods *methods)
4545
HASHCTL ctl;
4646

4747
memset(&ctl, 0, sizeof(HASHCTL));
48-
ctl.keysize = NAMEDATALEN;
48+
ctl.keysize = EXTNODENAME_MAX_LEN;
4949
ctl.entrysize = sizeof(ExtensibleNodeEntry);
5050
extensible_node_methods = hash_create("Extensible Node Methods",
5151
100, &ctl, HASH_ELEM);

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