File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -368,8 +368,8 @@ Changes
368
368
369
369
ECPG
370
370
371
- EXECUTE ... INTO implemented
372
- Multiple row descriptor support (e.g. CARDINALITY)
371
+ EXECUTE ... INTO implemented (Christof Petig)
372
+ Multiple row descriptor support (e.g. CARDINALITY) (Christof Petig)
373
373
Fix for GRANT parameters (Lee Kindness)
374
374
Fix INITIALLY DEFERRED bug
375
375
Various bug fixes (Michael, Christof Petig)
Original file line number Diff line number Diff line change 1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.108 2001/12/27 21:10:15 petere Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.109 2001/12/28 05:00:32 momjian Exp $
3
3
-->
4
4
5
5
<appendix id="release">
@@ -482,8 +482,8 @@ Add more compatibility functions to odbc.sql (Peter E)
482
482
<sect3>
483
483
<title>ECPG</title>
484
484
<literallayout>
485
- EXECUTE ... INTO implemented
486
- Multiple row descriptor support (e.g. CARDINALITY)
485
+ EXECUTE ... INTO implemented (Christof Petig)
486
+ Multiple row descriptor support (e.g. CARDINALITY) (Christof Petig)
487
487
Fix for GRANT parameters (Lee Kindness)
488
488
Fix INITIALLY DEFERRED bug
489
489
Various bug fixes (Michael, Christof Petig)
Original file line number Diff line number Diff line change 3
3
*
4
4
* Copyright 2000 by PostgreSQL Global Development Group
5
5
*
6
- * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.43 2001/11/05 17:46:31 momjian Exp $
6
+ * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.44 2001/12/28 05:00:32 momjian Exp $
7
7
*/
8
8
#include "postgres_fe.h"
9
9
#include "mainloop.h"
@@ -447,7 +447,6 @@ MainLoop(FILE *source)
447
447
{
448
448
const char * end_of_cmd = NULL ;
449
449
450
- paren_level = 0 ;
451
450
line [i - prevlen ] = '\0' ; /* overwrites backslash */
452
451
453
452
/* is there anything else on the line for the command? */
@@ -470,6 +469,9 @@ MainLoop(FILE *source)
470
469
471
470
success = slashCmdStatus != CMD_ERROR ;
472
471
472
+ if (query_buf -> len == 0 )
473
+ paren_level = 0 ;
474
+
473
475
if ((slashCmdStatus == CMD_SEND || slashCmdStatus == CMD_NEWEDIT ) &&
474
476
query_buf -> len == 0 )
475
477
{
You can’t perform that action at this time.
0 commit comments