Fix two oversights from 9ebe0572 which refactored cluster_rel
authorMichael Paquier <michael@paquier.xyz>
Sun, 29 Jul 2018 13:00:42 +0000 (22:00 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sun, 29 Jul 2018 13:00:42 +0000 (22:00 +0900)
commit9f7ba88aa447a0a35006d877eec897b917d1c6c3
tree2cf494fec9f7182d381ea57ab17f0c90a1a9033c
parente09144e6ce2b3ec120d0405ead2b062183f26c6b
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.
src/backend/commands/vacuum.c
src/include/nodes/parsenodes.h