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.
This commit is contained in:
Peter Eisentraut 2023-06-29 10:30:55 +02:00
parent 39a584dc90
commit efcf55f8fe
1 changed files with 0 additions and 2 deletions

View File

@ -4262,8 +4262,6 @@ raw_expression_tree_walker_impl(Node *node,
if (WALK(coldef->typeName))
return true;
if (WALK(coldef->compression))
return true;
if (WALK(coldef->raw_default))
return true;
if (WALK(coldef->collClause))