diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 0db6cd5562..ea20aa20d4 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -117,6 +117,8 @@ HandleSlashCmds(PsqlSettings *pset, my_line[blank_loc] = '\0'; } + options[0] = NULL; + if (options_string) { char quote;