Remove inappropriate raw_expression_tree_walker() code

Peter Eisentraut <peter@eisentraut.org>

Commit: efcf55f8fe00b46198cd34557431c87ce5da8040
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-06-29T08:34:53Z
Releases: 16.0
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.

Files

PathChange+/−
src/backend/nodes/nodeFuncs.c modified +0 −2