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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bogus range_table_mutator() logic for RangeTblEntry.tablesam
Date: 2015-06-19 15:42:17
Message-ID: E1Z5yQr-0003vn-Ru@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-06-19 15:59:46 pgsql: Clamp autovacuum launcher sleep time to 5 minutes
Previous Message Robert Haas 2015-06-19 15:41:14 pgsql: Fix corner case in autovacuum-forcing logic for multixact wrapar