Fix two oversights from 9ebe0572 which refactored cluster_rel

Michael Paquier <michael@paquier.xyz>

Commit: 9f7ba88aa447a0a35006d877eec897b917d1c6c3
Author: Michael Paquier <michael@paquier.xyz>
Date: 2018-07-29T13:00:42Z
Releases: 12.0
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.

Files

PathChange+/−
src/backend/commands/vacuum.c modified +3 −3
src/include/nodes/parsenodes.h modified +2 −2