PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
char * | pg_get_line (FILE *stream, PromptInterruptContext *prompt_ctx) |
bool | pg_get_line_buf (FILE *stream, StringInfo buf) |
bool | pg_get_line_append (FILE *stream, StringInfo buf, PromptInterruptContext *prompt_ctx) |
char* pg_get_line | ( | FILE * | stream, |
PromptInterruptContext * | prompt_ctx | ||
) |
Definition at line 59 of file pg_get_line.c.
References buf, initStringInfo(), pfree(), and pg_get_line_append().
Referenced by get_su_pwd(), pipe_read_line(), and simple_prompt_extended().
bool pg_get_line_append | ( | FILE * | stream, |
StringInfo | buf, | ||
PromptInterruptContext * | prompt_ctx | ||
) |
Definition at line 124 of file pg_get_line.c.
References buf, PromptInterruptContext::canceled, PromptInterruptContext::enabled, enlargeStringInfo(), PromptInterruptContext::jmpbuf, and res.
Referenced by pg_get_line(), pg_get_line_buf(), and tokenize_auth_file().
bool pg_get_line_buf | ( | FILE * | stream, |
StringInfo | buf | ||
) |
Definition at line 95 of file pg_get_line.c.
References buf, pg_get_line_append(), and resetStringInfo().
Referenced by ecpg_filter_source(), ecpg_filter_stderr(), filter_read_item(), read_quoted_string(), readfile(), SortTocFromFile(), and tsearch_readline().