Skip to content

Commit dd4adb7

Browse files
committed
Fix #27; GUC enums must have a NULL entry
1 parent 6217db5 commit dd4adb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pg_show_plans.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ static const struct config_enum_entry plan_formats[] =
154154
{"json", EXPLAIN_FORMAT_JSON, false},
155155
{"yaml", EXPLAIN_FORMAT_YAML, false},
156156
{"xml", EXPLAIN_FORMAT_XML, false},
157+
{NULL, 0, false}
157158
};
158159

159160
void

0 commit comments

Comments
 (0)