Remove inappropriate raw_expression_tree_walker() code
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 29 Jun 2023 08:30:55 +0000 (10:30 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 29 Jun 2023 08:35:53 +0000 (10:35 +0200)
commit6bc7873da1c3e9f1d870fa2d671eb450ea6c9753
tree31a4c6be08d4e588b0a938a66ab88e8a83058d41
parent7e8349cbd7f74f906d7b72841e66a96f93b516be
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.
src/backend/nodes/nodeFuncs.c