PostgreSQL Source Code
git master
|
#include <settings.h>
Definition at line 89 of file settings.h.
bool _psqlSettings::autocommit |
Definition at line 147 of file settings.h.
Referenced by autocommit_hook(), fail_lo_xact(), finish_lo_xact(), and SendQuery().
int _psqlSettings::bind_nparams |
Definition at line 110 of file settings.h.
Referenced by clean_extended_state(), exec_command_bind(), exec_command_bind_named(), and ExecQueryAndProcessResults().
char** _psqlSettings::bind_params |
Definition at line 111 of file settings.h.
Referenced by clean_extended_state(), exec_command_bind(), exec_command_bind_named(), and ExecQueryAndProcessResults().
PSQL_COMP_CASE _psqlSettings::comp_case |
Definition at line 160 of file settings.h.
Referenced by comp_keyword_case_hook().
FILE* _psqlSettings::copyStream |
Definition at line 96 of file settings.h.
Referenced by do_copy(), ExecQueryAndProcessResults(), HandleCopyResult(), and main().
bool _psqlSettings::crosstab_flag |
Definition at line 114 of file settings.h.
Referenced by exec_command_crosstabview(), ExecQueryAndProcessResults(), PrintQueryResult(), and SendQuery().
char* _psqlSettings::ctv_args[4] |
Definition at line 115 of file settings.h.
Referenced by exec_command_crosstabview(), PrintResultInCrosstab(), and SendQuery().
bool _psqlSettings::cur_cmd_interactive |
Definition at line 122 of file settings.h.
Referenced by CheckConnection(), do_connect(), exec_command(), HandleSlashCmds(), main(), MainLoop(), and SendQuery().
FILE* _psqlSettings::cur_cmd_source |
Definition at line 120 of file settings.h.
Referenced by do_copy(), handleCopyIn(), HandleCopyResult(), main(), and MainLoop().
PGconn* _psqlSettings::db |
Definition at line 91 of file settings.h.
Referenced by AcceptResult(), CheckConnection(), ClearOrSaveAllResults(), connection_warnings(), ConnectionUp(), describeConfigurationParameters(), DescribeQuery(), do_connect(), do_lo_export(), do_lo_import(), do_lo_unlink(), exec_command_conninfo(), exec_command_encoding(), exec_command_password(), ExecQueryAndProcessResults(), get_create_object_cmd(), get_prompt(), HandleCopyResult(), is_superuser(), lookup_object_oid(), main(), MainLoop(), printGSSInfo(), PrintNotifications(), printSSLInfo(), psql_get_variable(), PSQLexec(), PSQLexecWatch(), SendQuery(), session_username(), show_context_hook(), slashUsage(), standard_strings(), start_lo_xact(), SyncVariables(), validateSQLNamePattern(), and verbosity_hook().
PGconn* _psqlSettings::dead_conn |
Definition at line 140 of file settings.h.
Referenced by CheckConnection(), do_connect(), and main().
PSQL_ECHO _psqlSettings::echo |
Definition at line 157 of file settings.h.
Referenced by echo_hook(), ExecQueryTuples(), main(), MainLoop(), and SendQuery().
PSQL_ECHO_HIDDEN _psqlSettings::echo_hidden |
Definition at line 158 of file settings.h.
Referenced by echo_hidden_command(), echo_hidden_hook(), and PSQLexec().
int _psqlSettings::encoding |
Definition at line 92 of file settings.h.
Referenced by command_no_begin(), describeOneTableDetails(), exec_command_encoding(), get_create_object_cmd(), get_prompt(), indexOfColumn(), main(), MainLoop(), parse_slash_copy(), SendQuery(), skip_white_space(), and SyncVariables().
int _psqlSettings::fetch_count |
Definition at line 154 of file settings.h.
Referenced by ExecQueryAndProcessResults(), and fetch_count_hook().
bool _psqlSettings::gdesc_flag |
Definition at line 106 of file settings.h.
Referenced by exec_command_gdesc(), and SendQuery().
enum trivalue _psqlSettings::getPassword |
Definition at line 117 of file settings.h.
Referenced by do_connect(), main(), and parse_psql_options().
bool _psqlSettings::gexec_flag |
Definition at line 107 of file settings.h.
Referenced by exec_command_gexec(), ExecQueryAndProcessResults(), ExecQueryTuples(), PrintQueryResult(), and SendQuery().
char* _psqlSettings::gfname |
Definition at line 102 of file settings.h.
Referenced by exec_command_g(), ExecQueryAndProcessResults(), SendQuery(), and SetupGOutput().
printQueryOpt* _psqlSettings::gsavepopt |
Definition at line 103 of file settings.h.
Referenced by exec_command_g(), process_command_g_options(), and SendQuery().
char* _psqlSettings::gset_prefix |
Definition at line 105 of file settings.h.
Referenced by exec_command_gset(), ExecQueryAndProcessResults(), PrintQueryResult(), SendQuery(), and StoreQueryTuple().
bool _psqlSettings::hide_compression |
Definition at line 152 of file settings.h.
Referenced by describeOneTableDetails(), and hide_compression_hook().
bool _psqlSettings::hide_tableam |
Definition at line 153 of file settings.h.
Referenced by describeOneTableDetails(), hide_tableam_hook(), and listTables().
HistControl _psqlSettings::histcontrol |
Definition at line 161 of file settings.h.
Referenced by histcontrol_hook(), and pg_send_history().
int _psqlSettings::histsize |
Definition at line 155 of file settings.h.
Referenced by finishInput(), and histsize_hook().
int _psqlSettings::ignoreeof |
Definition at line 156 of file settings.h.
Referenced by ignoreeof_hook(), and MainLoop().
char* _psqlSettings::inputfile |
Definition at line 125 of file settings.h.
Referenced by exec_command_prompt(), log_locus_callback(), and process_file().
PGresult* _psqlSettings::last_error_result |
Definition at line 98 of file settings.h.
Referenced by ClearOrSaveResult(), exec_command_errverbose(), and main().
uint64 _psqlSettings::lineno |
Definition at line 126 of file settings.h.
Referenced by handleCopyIn(), log_locus_callback(), and MainLoop().
FILE* _psqlSettings::logfile |
Definition at line 131 of file settings.h.
Referenced by describeAccessMethods(), describeAggregates(), describeConfigurationParameters(), describeFunctions(), describeOneTableDetails(), describeOneTSConfig(), describeOneTSParser(), describeOperators(), describePublications(), describeRoleGrants(), describeRoles(), describeSubscriptions(), describeTablespaces(), describeTypes(), echo_hidden_command(), ExecQueryAndProcessResults(), listAllDbs(), listCasts(), listCollations(), listConversions(), listDbRoleSettings(), listDefaultACLs(), listDomains(), listEventTriggers(), listExtendedStats(), listExtensions(), listForeignDataWrappers(), listForeignServers(), listForeignTables(), listLanguages(), listLargeObjects(), listOneExtensionContents(), listOperatorClasses(), listOperatorFamilies(), listOpFamilyFunctions(), listOpFamilyOperators(), listPartitionedTables(), listPublications(), listSchemas(), listTables(), listTSConfigs(), listTSDictionaries(), listTSParsers(), listTSTemplates(), listUserMappings(), main(), objectDescription(), permissionsList(), print_lo_result(), printCrosstab(), PrintQueryStatus(), PrintQueryTuples(), PSQLexec(), and SendQuery().
bool _psqlSettings::notty |
Definition at line 117 of file settings.h.
Referenced by connection_warnings(), do_connect(), main(), and MainLoop().
PSQL_ERROR_ROLLBACK _psqlSettings::on_error_rollback |
Definition at line 159 of file settings.h.
Referenced by on_error_rollback_hook(), and SendQuery().
bool _psqlSettings::on_error_stop |
Definition at line 148 of file settings.h.
Referenced by ExecQueryTuples(), main(), MainLoop(), and on_error_stop_hook().
printQueryOpt _psqlSettings::popt |
Definition at line 100 of file settings.h.
Referenced by describeAccessMethods(), describeAggregates(), describeConfigurationParameters(), describeFunctions(), describeOneTableDetails(), describeOneTSConfig(), describeOneTSParser(), describeOperators(), describePublications(), describeRoleGrants(), describeRoles(), describeSubscriptions(), describeTablespaces(), describeTypes(), do_pset(), do_watch(), exec_command_a(), exec_command_C(), exec_command_encoding(), exec_command_f(), exec_command_g(), exec_command_help(), exec_command_html(), exec_command_pset(), exec_command_s(), exec_command_sf_sv(), exec_command_slash_command_help(), exec_command_t(), exec_command_T(), exec_command_x(), ExecQueryAndProcessResults(), listAllDbs(), listCasts(), listCollations(), listConversions(), listDbRoleSettings(), listDefaultACLs(), listDomains(), listEventTriggers(), listExtendedStats(), listExtensions(), listForeignDataWrappers(), listForeignServers(), listForeignTables(), listLanguages(), listLargeObjects(), listOneExtensionContents(), listOperatorClasses(), listOperatorFamilies(), listOpFamilyFunctions(), listOpFamilyOperators(), listPartitionedTables(), listPublications(), listSchemas(), listTables(), listTSConfigs(), listTSDictionaries(), listTSParsers(), listTSTemplates(), listUserMappings(), main(), objectDescription(), parse_psql_options(), permissionsList(), print_lo_result(), printCrosstab(), printHistory(), PrintQueryStatus(), PrintQueryTuples(), process_command_g_options(), SendQuery(), slashUsage(), SyncVariables(), and usage().
const char* _psqlSettings::progname |
Definition at line 124 of file settings.h.
Referenced by connection_warnings(), do_connect(), main(), MainLoop(), and parse_psql_options().
const char* _psqlSettings::prompt1 |
Definition at line 162 of file settings.h.
Referenced by get_prompt(), and prompt1_hook().
const char* _psqlSettings::prompt2 |
Definition at line 163 of file settings.h.
Referenced by get_prompt(), and prompt2_hook().
const char* _psqlSettings::prompt3 |
Definition at line 164 of file settings.h.
Referenced by get_prompt(), and prompt3_hook().
FILE* _psqlSettings::queryFout |
Definition at line 93 of file settings.h.
Referenced by describeAccessMethods(), describeAggregates(), describeConfigurationParameters(), describeFunctions(), describeOneTableDetails(), describeOneTSConfig(), describeOneTSParser(), describeOperators(), describePublications(), DescribeQuery(), describeRoleGrants(), describeRoles(), describeSubscriptions(), describeTablespaces(), describeTypes(), do_copy(), exec_command_echo(), exec_command_sf_sv(), ExecQueryAndProcessResults(), HandleCopyResult(), HandleSlashCmds(), listAllDbs(), listCasts(), listCollations(), listConversions(), listDbRoleSettings(), listDefaultACLs(), listDomains(), listEventTriggers(), listExtendedStats(), listExtensions(), listForeignDataWrappers(), listForeignServers(), listForeignTables(), listLanguages(), listLargeObjects(), listOneExtensionContents(), listOperatorClasses(), listOperatorFamilies(), listOpFamilyFunctions(), listOpFamilyOperators(), listPartitionedTables(), listPublications(), listSchemas(), listTables(), listTSConfigs(), listTSDictionaries(), listTSParsers(), listTSTemplates(), listUserMappings(), log_pre_callback(), main(), objectDescription(), permissionsList(), print_lo_result(), printCrosstab(), PrintNotifications(), PrintQueryStatus(), PrintQueryTuples(), and setQFout().
bool _psqlSettings::queryFoutPipe |
Definition at line 94 of file settings.h.
Referenced by main(), and setQFout().
bool _psqlSettings::quiet |
Definition at line 149 of file settings.h.
Referenced by connection_warnings(), describeOneTableDetails(), describePublications(), describeTableDetails(), do_connect(), exec_command_a(), exec_command_C(), exec_command_f(), exec_command_html(), exec_command_print(), exec_command_pset(), exec_command_reset(), exec_command_s(), exec_command_t(), exec_command_T(), exec_command_timing(), exec_command_x(), handleCopyIn(), listDbRoleSettings(), listExtensionContents(), listTables(), listTSConfigsVerbose(), listTSParsersVerbose(), main(), MainLoop(), parse_psql_options(), print_lo_result(), PrintQueryStatus(), and quiet_hook().
PSQL_SEND_MODE _psqlSettings::send_mode |
Definition at line 108 of file settings.h.
Referenced by clean_extended_state(), exec_command_bind(), exec_command_bind_named(), exec_command_close(), exec_command_parse(), and ExecQueryAndProcessResults().
bool _psqlSettings::show_all_results |
Definition at line 166 of file settings.h.
Referenced by ExecQueryAndProcessResults(), PrintQueryResult(), and show_all_results_hook().
PGContextVisibility _psqlSettings::show_context |
Definition at line 167 of file settings.h.
Referenced by show_context_hook(), and SyncVariables().
bool _psqlSettings::singleline |
Definition at line 150 of file settings.h.
Referenced by get_prompt(), MainLoop(), and singleline_hook().
bool _psqlSettings::singlestep |
Definition at line 151 of file settings.h.
Referenced by ExecQueryTuples(), SendQuery(), and singlestep_hook().
uint64 _psqlSettings::stmt_lineno |
Definition at line 127 of file settings.h.
Referenced by get_prompt(), handleCopyIn(), and MainLoop().
char* _psqlSettings::stmtName |
Definition at line 112 of file settings.h.
Referenced by clean_extended_state(), exec_command_bind_named(), exec_command_close(), exec_command_parse(), and ExecQueryAndProcessResults().
int _psqlSettings::sversion |
Definition at line 123 of file settings.h.
Referenced by connection_warnings(), describeAccessMethods(), describeAggregates(), describeConfigurationParameters(), describeFunctions(), describeOneTableDetails(), describePublications(), describeRoleGrants(), describeRoles(), describeSubscriptions(), get_create_object_cmd(), listAllDbs(), listCollations(), listEventTriggers(), listExtendedStats(), listPartitionedTables(), listPublications(), listSchemas(), listTables(), permissionsList(), and SyncVariables().
bool _psqlSettings::timing |
Definition at line 129 of file settings.h.
Referenced by DescribeQuery(), exec_command_timing(), ExecQueryAndProcessResults(), PSQLexecWatch(), SendQuery(), and slashUsage().
VariableSpace _psqlSettings::vars |
Definition at line 133 of file settings.h.
Referenced by do_lo_import(), EstablishVariableSpace(), exec_command_encoding(), exec_command_getenv(), exec_command_prompt(), exec_command_set(), exec_command_unset(), ExecQueryAndProcessResults(), get_prompt(), initializeInput(), main(), parse_psql_options(), PrintQueryStatus(), psql_get_variable(), SendQuery(), SetResultVariables(), SetShellResultVariables(), StoreQueryTuple(), SyncVariables(), and UnsyncVariables().
PGVerbosity _psqlSettings::verbosity |
Definition at line 165 of file settings.h.
Referenced by SyncVariables(), and verbosity_hook().