aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/settings.h')
-rw-r--r--src/bin/psql/settings.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/psql/settings.h b/src/bin/psql/settings.h
index 774c54b4594..21f138bd37d 100644
--- a/src/bin/psql/settings.h
+++ b/src/bin/psql/settings.h
@@ -43,11 +43,13 @@ typedef struct _psqlSettings
bool has_client_encoding; /* was PGCLIENTENCODING set on
* startup? */
- Oid lastOid; /* saves oid from insert command
- because people want it so badly */
char *progname; /* in case you renamed psql */
} PsqlSettings;
+extern PsqlSettings pset;
+
+
+#define QUIET() (GetVariableBool(pset.vars, "QUIET"))
#ifndef EXIT_SUCCESS