pgsql: Remove inappropriate raw_expression_tree_walker() code

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove inappropriate raw_expression_tree_walker() code
Date: 2023-06-29 09:05:17
Message-ID: E1qEnaX-000zu2-EN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6bc7873da1c3e9f1d870fa2d671eb450ea6c9753

Modified Files
--------------
src/backend/nodes/nodeFuncs.c | 2 --
1 file changed, 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-06-29 09:20:04 Re: pgsql: ci: Change macOS builds from Intel to ARM.
Previous Message Peter Eisentraut 2023-06-29 07:15:56 pgsql: Error message wording improvements