diff options
author | Peter Eisentraut | 2000-01-14 22:18:03 +0000 |
---|---|---|
committer | Peter Eisentraut | 2000-01-14 22:18:03 +0000 |
commit | 7c9390caa14ea2d5d99d69d2a34eee4d45d43b9c (patch) | |
tree | 7fdf1a26847ab31eee6ab32fc4d77138040971cf /src/bin/psql/settings.h | |
parent | 4ceb2d0cb619bba2ecbf5d72a10c8fa7ba321366 (diff) |
Fixed psql variables vs array syntax, as well as minor psql enhancements
Diffstat (limited to 'src/bin/psql/settings.h')
-rw-r--r-- | src/bin/psql/settings.h | 6 |
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 |