1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Add mention of Christof Petig for ecpg items.

This commit is contained in:
Bruce Momjian
2001-12-28 05:00:32 +00:00
parent dbaddcfd2b
commit deab927470
3 changed files with 9 additions and 7 deletions

View File

@ -368,8 +368,8 @@ Changes
ECPG ECPG
EXECUTE ... INTO implemented EXECUTE ... INTO implemented (Christof Petig)
Multiple row descriptor support (e.g. CARDINALITY) Multiple row descriptor support (e.g. CARDINALITY) (Christof Petig)
Fix for GRANT parameters (Lee Kindness) Fix for GRANT parameters (Lee Kindness)
Fix INITIALLY DEFERRED bug Fix INITIALLY DEFERRED bug
Various bug fixes (Michael, Christof Petig) Various bug fixes (Michael, Christof Petig)

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.108 2001/12/27 21:10:15 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.109 2001/12/28 05:00:32 momjian Exp $
--> -->
<appendix id="release"> <appendix id="release">
@ -482,8 +482,8 @@ Add more compatibility functions to odbc.sql (Peter E)
<sect3> <sect3>
<title>ECPG</title> <title>ECPG</title>
<literallayout> <literallayout>
EXECUTE ... INTO implemented EXECUTE ... INTO implemented (Christof Petig)
Multiple row descriptor support (e.g. CARDINALITY) Multiple row descriptor support (e.g. CARDINALITY) (Christof Petig)
Fix for GRANT parameters (Lee Kindness) Fix for GRANT parameters (Lee Kindness)
Fix INITIALLY DEFERRED bug Fix INITIALLY DEFERRED bug
Various bug fixes (Michael, Christof Petig) Various bug fixes (Michael, Christof Petig)

View File

@ -3,7 +3,7 @@
* *
* Copyright 2000 by PostgreSQL Global Development Group * Copyright 2000 by PostgreSQL Global Development Group
* *
* $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.43 2001/11/05 17:46:31 momjian Exp $ * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.44 2001/12/28 05:00:32 momjian Exp $
*/ */
#include "postgres_fe.h" #include "postgres_fe.h"
#include "mainloop.h" #include "mainloop.h"
@ -447,7 +447,6 @@ MainLoop(FILE *source)
{ {
const char *end_of_cmd = NULL; const char *end_of_cmd = NULL;
paren_level = 0;
line[i - prevlen] = '\0'; /* overwrites backslash */ line[i - prevlen] = '\0'; /* overwrites backslash */
/* is there anything else on the line for the command? */ /* is there anything else on the line for the command? */
@ -470,6 +469,9 @@ MainLoop(FILE *source)
success = slashCmdStatus != CMD_ERROR; success = slashCmdStatus != CMD_ERROR;
if (query_buf->len == 0)
paren_level = 0;
if ((slashCmdStatus == CMD_SEND || slashCmdStatus == CMD_NEWEDIT) && if ((slashCmdStatus == CMD_SEND || slashCmdStatus == CMD_NEWEDIT) &&
query_buf->len == 0) query_buf->len == 0)
{ {