Skip to content

Commit deab927

Browse files
committed
Add mention of Christof Petig for ecpg items.
1 parent dbaddcf commit deab927

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

HISTORY

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ Changes
368368

369369
ECPG
370370

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)
373373
Fix for GRANT parameters (Lee Kindness)
374374
Fix INITIALLY DEFERRED bug
375375
Various bug fixes (Michael, Christof Petig)

doc/src/sgml/release.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
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 $
33
-->
44

55
<appendix id="release">
@@ -482,8 +482,8 @@ Add more compatibility functions to odbc.sql (Peter E)
482482
<sect3>
483483
<title>ECPG</title>
484484
<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)
487487
Fix for GRANT parameters (Lee Kindness)
488488
Fix INITIALLY DEFERRED bug
489489
Various bug fixes (Michael, Christof Petig)

src/bin/psql/mainloop.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
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 $
77
*/
88
#include "postgres_fe.h"
99
#include "mainloop.h"
@@ -447,7 +447,6 @@ MainLoop(FILE *source)
447447
{
448448
const char *end_of_cmd = NULL;
449449

450-
paren_level = 0;
451450
line[i - prevlen] = '\0'; /* overwrites backslash */
452451

453452
/* is there anything else on the line for the command? */
@@ -470,6 +469,9 @@ MainLoop(FILE *source)
470469

471470
success = slashCmdStatus != CMD_ERROR;
472471

472+
if (query_buf->len == 0)
473+
paren_level = 0;
474+
473475
if ((slashCmdStatus == CMD_SEND || slashCmdStatus == CMD_NEWEDIT) &&
474476
query_buf->len == 0)
475477
{

0 commit comments

Comments
 (0)