Commit aec64e8f authored by Robert Haas's avatar Robert Haas

Fix mistake in extensible node code.

I believe that I (rhaas) introduced this bug while editing the patch
that became bcac23de.

Report and patch from KaiGai Kohei.
parent 7e137f84
......@@ -45,7 +45,7 @@ RegisterExtensibleNodeMethods(const ExtensibleNodeMethods *methods)
HASHCTL ctl;
memset(&ctl, 0, sizeof(HASHCTL));
ctl.keysize = NAMEDATALEN;
ctl.keysize = EXTNODENAME_MAX_LEN;
ctl.entrysize = sizeof(ExtensibleNodeEntry);
extensible_node_methods = hash_create("Extensible Node Methods",
100, &ctl, HASH_ELEM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment