BOOL_SETTER ignores given name and always sets value to the member
"parallel_aware". When inner_uniue comes after parallel_aware, the
former overrides the latter and the latter doesn't get the right
value. As the result the following JSON plan is wrongly converted as
"Parallel Join".
select pg_store_plans_textplan('{"Plans":[{"Node Type":"Join","Parallel Aware":false,"Inner Unique":true}]}');
Currently only "Inner Unique" hits this.
SETTERDECL(name) { vals->name = quote_identifier(val);}
#define BOOL_SETTER(name) \
- SETTERDECL(name) { vals->parallel_aware = (strcmp(val, "true") == 0 ? 1 : 0);}
+ SETTERDECL(name) { vals->name = (strcmp(val, "true") == 0 ? 1 : 0);}
#define LIST_SETTER(name) \
SETTERDECL(name) { \