File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 33 *
44 * Copyright 2000 by PostgreSQL Global Development Group
55 *
6- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.52 2001/05/09 17:29:10 momjian Exp $
6+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.53 2001/05/12 17:37:15 tgl Exp $
77 */
88#include "postgres_fe.h"
99#include "command.h"
@@ -132,16 +132,16 @@ HandleSlashCmds(const char *line,
132132 {
133133
134134 /*
135- * If the command was not recognized, try inserting a space after
136- * the first letter and call again. The one letter commands allow
137- * arguments to start immediately after the command, but that is
138- * no longer encouraged.
135+ * If the command was not recognized, try to parse it as a one-letter
136+ * command with immediately following argument (a still-supported,
137+ * but no longer encouraged, syntax).
139138 */
140139 char new_cmd [2 ];
141140
142141 new_cmd [0 ] = my_line [0 ];
143142 new_cmd [1 ] = '\0' ;
144143
144+ /* use line for options, because my_line was clobbered above */
145145 status = exec_command (new_cmd , line + 1 , & continue_parse , query_buf );
146146
147147 /* continue_parse must be relative to my_line for calculation below */
You can’t perform that action at this time.
0 commit comments