Skip to content

Commit 6bc7873

Browse files
committed
Remove inappropriate raw_expression_tree_walker() code
It was walking into the ColumnDef->compression field, which is not a node but a string. This code is currently not reachable (because the compression field is only set in situations that don't go through raw_expression_tree_walker()), but if it had been, this could have behaved erratically.
1 parent 7e8349c commit 6bc7873

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/backend/nodes/nodeFuncs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3924,8 +3924,6 @@ raw_expression_tree_walker(Node *node,
39243924

39253925
if (walker(coldef->typeName, context))
39263926
return true;
3927-
if (walker(coldef->compression, context))
3928-
return true;
39293927
if (walker(coldef->raw_default, context))
39303928
return true;
39313929
if (walker(coldef->collClause, context))

0 commit comments

Comments
 (0)