Skip to content

Commit df5dcf4

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 e886124 commit df5dcf4

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
@@ -4011,8 +4011,6 @@ raw_expression_tree_walker(Node *node,
40114011

40124012
if (walker(coldef->typeName, context))
40134013
return true;
4014-
if (walker(coldef->compression, context))
4015-
return true;
40164014
if (walker(coldef->raw_default, context))
40174015
return true;
40184016
if (walker(coldef->collClause, context))

0 commit comments

Comments
 (0)