Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit efcf55f

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 39a584d commit efcf55f

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
@@ -4262,8 +4262,6 @@ raw_expression_tree_walker_impl(Node *node,
42624262

42634263
if (WALK(coldef->typeName))
42644264
return true;
4265-
if (WALK(coldef->compression))
4266-
return true;
42674265
if (WALK(coldef->raw_default))
42684266
return true;
42694267
if (WALK(coldef->collClause))

0 commit comments

Comments
 (0)