pgsql: Fix two oversights from 9ebe0572 which refactored cluster_rel

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix two oversights from 9ebe0572 which refactored cluster_rel
Date: 2018-07-29 13:02:28
Message-ID: E1fjlLA-0007Nl-6p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix two oversights from 9ebe0572 which refactored cluster_rel

The recheck option became a no-op as ClusterOption failed to set proper
values for each element. There was a second code path where local
options got overwritten.

Both issues have been spotted by Coverity.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9f7ba88aa447a0a35006d877eec897b917d1c6c3

Modified Files
--------------
src/backend/commands/vacuum.c | 6 +++---
src/include/nodes/parsenodes.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-07-29 14:53:13 pgsql: Make error message of pageinspect more consistent for raw page i
Previous Message Noah Misch 2018-07-29 03:14:03 pgsql: Document security implications of qualified names.