Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aec64e8

Browse filesBrowse 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
Copy full SHA for aec64e8

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/backend/nodes/extensible.c

Copy file name to clipboardExpand all lines: src/backend/nodes/extensible.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.