]> granicus.if.org Git - postgresql/commit
Fix bogus range_table_mutator() logic for RangeTblEntry.tablesample.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 Jun 2015 15:41:45 +0000 (11:41 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 Jun 2015 15:41:56 +0000 (11:41 -0400)
commitbe87143fe90adf8862791aeddd76151e88ce5603
tree360ff23cb571bb841c85a5feb420f439146f346b
parented16f73c574660aa0902caa1c0adeba07f8c70a5
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
src/backend/nodes/nodeFuncs.c