summaryrefslogtreecommitdiff
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.h39
1 files changed, 21 insertions, 18 deletions
diff --git a/src/bin/psql/settings.h b/src/bin/psql/settings.h
index 6ceefd8b44..5687e1801f 100644
--- a/src/bin/psql/settings.h
+++ b/src/bin/psql/settings.h
@@ -20,24 +20,27 @@
typedef struct _psqlSettings
{
- PGconn *db; /* connection to backend */
- FILE *queryFout; /* where to send the query results */
- bool queryFoutPipe; /* queryFout is from a popen() */
-
- printQueryOpt popt;
- VariableSpace vars; /* "shell variable" repository */
-
- char *gfname; /* one-shot file output argument for \g */
-
- bool notty; /* stdin or stdout is not a tty (as determined on startup) */
- bool useReadline; /* use libreadline routines */
- bool useHistory;
- bool getPassword; /* prompt the user for a username and
- password */
- FILE * cur_cmd_source; /* describe the status of the current main loop */
- bool cur_cmd_interactive;
-
- bool has_client_encoding; /* was PGCLIENTENCODING set on startup? */
+ PGconn *db; /* connection to backend */
+ FILE *queryFout; /* where to send the query results */
+ bool queryFoutPipe; /* queryFout is from a popen() */
+
+ printQueryOpt popt;
+ VariableSpace vars; /* "shell variable" repository */
+
+ char *gfname; /* one-shot file output argument for \g */
+
+ bool notty; /* stdin or stdout is not a tty (as
+ * determined on startup) */
+ bool useReadline; /* use libreadline routines */
+ bool useHistory;
+ bool getPassword; /* prompt the user for a username and
+ * password */
+ FILE *cur_cmd_source; /* describe the status of the current main
+ * loop */
+ bool cur_cmd_interactive;
+
+ bool has_client_encoding; /* was PGCLIENTENCODING set on
+ * startup? */
} PsqlSettings;