|
3 | 3 | *
|
4 | 4 | * Copyright 2000 by PostgreSQL Global Development Group
|
5 | 5 | *
|
6 |
| - * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.49 2001/04/18 20:53:08 petere Exp $ |
| 6 | + * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.49.2.1 2001/05/06 21:44:32 petere Exp $ |
7 | 7 | */
|
8 | 8 | #include"postgres_fe.h"
|
9 | 9 | #include"command.h"
|
@@ -141,6 +141,9 @@ HandleSlashCmds(const char *line,
|
141 | 141 |
|
142 | 142 | status=exec_command(new_cmd,line+1,&continue_parse,query_buf);
|
143 | 143 |
|
| 144 | +/* continue_parse must be relative to my_line for calculation below */ |
| 145 | +continue_parse+=my_line-line; |
| 146 | + |
144 | 147 | #if0/* turned out to be too annoying */
|
145 | 148 | if (status!=CMD_UNKNOWN&&isalpha((unsignedchar)new_cmd[0]))
|
146 | 149 | psql_error("Warning: this syntax is deprecated\n");
|
|