Commit 82ccb420 authored by Hiroshi Inoue's avatar Hiroshi Inoue

Fix a bug introduced in 7.2.

parent 40f2eec5
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.285 2002/08/29 07:22:23 ishii Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.286 2002/08/29 23:39:05 inoue Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -751,7 +751,7 @@ pg_exec_query_string(StringInfo query_string, /* string to execute */ ...@@ -751,7 +751,7 @@ pg_exec_query_string(StringInfo query_string, /* string to execute */
{ {
elog(DEBUG2, "ProcessQuery"); elog(DEBUG2, "ProcessQuery");
if (querytree->originalQuery) if (querytree->originalQuery || length(querytree_list) == 1)
{ {
/* original stmt can override default tag string */ /* original stmt can override default tag string */
ProcessQuery(querytree, plan, dest, completionTag); ProcessQuery(querytree, plan, dest, completionTag);
...@@ -1664,7 +1664,7 @@ PostgresMain(int argc, char *argv[], const char *username) ...@@ -1664,7 +1664,7 @@ PostgresMain(int argc, char *argv[], const char *username)
if (!IsUnderPostmaster) if (!IsUnderPostmaster)
{ {
puts("\nPOSTGRES backend interactive interface "); puts("\nPOSTGRES backend interactive interface ");
puts("$Revision: 1.285 $ $Date: 2002/08/29 07:22:23 $\n"); puts("$Revision: 1.286 $ $Date: 2002/08/29 23:39:05 $\n");
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment