mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
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:
parent
e886124647
commit
df5dcf41cf
@ -4011,8 +4011,6 @@ raw_expression_tree_walker(Node *node,
|
|||||||
|
|
||||||
if (walker(coldef->typeName, context))
|
if (walker(coldef->typeName, context))
|
||||||
return true;
|
return true;
|
||||||
if (walker(coldef->compression, context))
|
|
||||||
return true;
|
|
||||||
if (walker(coldef->raw_default, context))
|
if (walker(coldef->raw_default, context))
|
||||||
return true;
|
return true;
|
||||||
if (walker(coldef->collClause, context))
|
if (walker(coldef->collClause, context))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user