diff options
| author | Bruce Momjian <bruce@momjian.us> | 1999-11-04 23:14:30 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1999-11-04 23:14:30 +0000 |
| commit | 0e6652e67357354e01f2466184343d0bc0ee2cab (patch) | |
| tree | 0c06450508417e033f8a2b90241a7126cd54c4fe /src/bin/psql/settings.h | |
| parent | 2323b63631080b7d4c287872a83b0ea30bd7874a (diff) | |
psql cleanup
Diffstat (limited to 'src/bin/psql/settings.h')
| -rw-r--r-- | src/bin/psql/settings.h | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/src/bin/psql/settings.h b/src/bin/psql/settings.h index 6ceefd8b44f..5687e1801f2 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; |
