Thread: pgsql: Fix bogus range_table_mutator() logic for RangeTblEntry.tablesam

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/be87143fe90adf8862791aeddd76151e88ce5603

Modified Files
--------------
src/backend/nodes/nodeFuncs.c |   10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)