diff --git a/doc/TODO b/doc/TODO index 7696de85a87554e2b1217c78efb4b4a15e76410a..c36ecdd87a497e0b4623146fea726198492fd974 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,6 +1,6 @@ TODO list for PostgreSQL ======================== -Last updated: Wed Jul 30 16:23:29 EDT 2003 +Last updated: Thu Jul 31 00:20:01 EDT 2003 Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) @@ -474,7 +474,7 @@ Source Code * Acquire lock on a relation before building a relcache entry for it * Research interaction of setitimer() and sleep() used by statement_timeout * Add checks for fclose() failure -* Change CVS $Id: TODO,v 1.1100 2003/07/30 20:23:32 momjian Exp $ to $PostgreSQL: pgsql/doc/TODO,v 1.1100 2003/07/30 20:23:32 momjian Exp $ +* Change CVS $Id: TODO,v 1.1101 2003/07/31 04:23:40 momjian Exp $ to $PostgreSQL: pgsql/doc/TODO,v 1.1101 2003/07/31 04:23:40 momjian Exp $ * Exit postmaster if postgresql.conf can not be opened * Rename /scripts directory because they are all C programs now * Allow the regression tests to start postmaster with -i so the tests diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index 94df950efecbf929c0e86de6b407f4cb6a877a09..42299129fb9940b23d6e64591e045c585d29cd21 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.66 2003/07/23 08:47:39 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.67 2003/07/31 04:23:40 momjian Exp $ */ #include "postgres_fe.h" #include "common.h" @@ -595,8 +595,11 @@ SendQuery(const char *query) return false; } else if (VariableEquals(pset.vars, "ECHO", "queries")) + { puts(query); - + fflush(stdout); + } + SetCancelConn(); if (PQtransactionStatus(pset.db) == PQTRANS_IDLE &&