Fix bogus range_table_mutator() logic for RangeTblEntry.tablesample.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: be87143fe90adf8862791aeddd76151e88ce5603
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-06-19T15:41:56Z
Releases: 9.5.0
Fix bogus range_table_mutator() logic for RangeTblEntry.tablesample.

Must make a copy of the TableSampleClause node; the previous coding
modified the input data structure in-place.

Petr Jelinek

Files

PathChange+/−
src/backend/nodes/nodeFuncs.c modified +7 −3