aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/variables.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/variables.c
parenta2226ad2373dcea5063fb8dafee1d52487be15cd (diff)
downloadpostgresql-9672d38f91f908e8a314d2f4500d9ec6b24d3b02.tar.gz
postgresql-9672d38f91f908e8a314d2f4500d9ec6b24d3b02.zip
Adjusted psql echoing options (-a and -e)
Diffstat (limited to 'src/bin/psql/variables.c')
-rw-r--r--src/bin/psql/variables.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/bin/psql/variables.c b/src/bin/psql/variables.c
index b0523dcb675..e7d67d6dc58 100644
--- a/src/bin/psql/variables.c
+++ b/src/bin/psql/variables.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/variables.c,v 1.5 2000/01/29 16:58:49 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/variables.c,v 1.6 2000/02/13 21:45:14 petere Exp $
*/
#include <c.h>
#include "variables.h"
@@ -112,6 +112,14 @@ SetVariable(VariableSpace space, const char *name, const char *value)
bool
+SetVariableBool(VariableSpace space, const char *name)
+{
+ return SetVariable(space, name, "");
+}
+
+
+
+bool
DeleteVariable(VariableSpace space, const char *name)
{
struct _variable *current,