From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 29 Nov 1999 05:28:11 +0000 (+0000)
Subject: I pulled this one out via CVS, I hope you can make use of it:
X-Git-Tag: REL7_0~1111
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47e51683e66fc79132285f38bcf8f2d2fc49d2e5;p=postgresql

I pulled this one out via CVS, I hope you can make use of it:

Peter.
---

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;