summaryrefslogtreecommitdiff
path: root/src/bin/psql/common.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-02-13 21:45:15 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-02-13 21:45:15 +0000
commit9672d38f91f908e8a314d2f4500d9ec6b24d3b02 (patch)
tree00c16a27fe10f395c70a65d7d41991178d753ada /src/bin/psql/common.c
parenta2226ad2373dcea5063fb8dafee1d52487be15cd (diff)
Adjusted psql echoing options (-a and -e)
Diffstat (limited to 'src/bin/psql/common.c')
-rw-r--r--src/bin/psql/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c
index 084d8790e6f..49249c27db6 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.12 2000/02/07 23:10:06 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.13 2000/02/13 21:45:14 petere Exp $
*/
#include <c.h>
#include "common.h"
@@ -382,7 +382,7 @@ SendQuery(const char *query)
else
{
const char * var = GetVariable(pset.vars, "ECHO");
- if (var && strcmp(var, "brief")==0)
+ if (var && strncmp(var, "queries", strlen(var))==0)
puts(query);
}