Remove inappropriate raw_expression_tree_walker() code

Peter Eisentraut <peter@eisentraut.org>

Commit: df5dcf41cf01af158d2b833a0ae752e52f5d38e8
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-06-29T08:35:35Z
Releases: 15.4
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