|
PostgreSQL Source Code git master
|
#include "pqexpbuffer.h"

Go to the source code of this file.
Functions | |
| char * | gets_interactive (const char *prompt, PQExpBuffer query_buf) |
| char * | gets_fromFile (FILE *source) |
| void | initializeInput (int flags) |
| bool | printHistory (const char *fname, unsigned short int pager) |
| void | pg_append_history (const char *s, PQExpBuffer history_buf) |
| void | pg_send_history (PQExpBuffer history_buf) |
Definition at line 186 of file input.c.
References appendPQExpBufferStr(), createPQExpBuffer(), PQExpBufferData::data, fb(), PQExpBufferData::len, pg_log_error, pg_strdup(), PQExpBufferBroken, resetPQExpBuffer(), sigint_interrupt_enabled, and source.
Referenced by exec_command_prompt(), gets_interactive(), and MainLoop().
|
extern |
Definition at line 67 of file input.c.
References fb(), gets_fromFile(), sigint_interrupt_enabled, and tab_completion_query_buf.
Referenced by MainLoop().
Definition at line 344 of file input.c.
References expand_tilde(), fb(), finishInput(), get_home_path(), GetVariable(), initialize_readline(), MAXPGPATH, pg_strdup(), pset, psprintf(), PSQLHISTORY, and _psqlSettings::vars.
Referenced by main().
|
extern |
Definition at line 113 of file input.c.
References appendPQExpBufferChar(), appendPQExpBufferStr(), and fb().
Referenced by MainLoop().
|
extern |
Definition at line 135 of file input.c.
References fb(), free, hctl_ignoredups, hctl_ignorespace, _psqlSettings::histcontrol, i, pg_strdup(), pset, and resetPQExpBuffer().
Referenced by MainLoop().
Definition at line 494 of file input.c.
References ClosePager(), fb(), fprintf, output, PageOutput(), pg_log_error, _psqlSettings::popt, pset, and printQueryOpt::topt.
Referenced by exec_command_s().