PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
char * | simple_prompt (const char *prompt, bool echo) |
char * | simple_prompt_extended (const char *prompt, bool echo, PromptInterruptContext *prompt_ctx) |
char* simple_prompt | ( | const char * | prompt, |
bool | echo | ||
) |
Definition at line 38 of file sprompt.c.
References simple_prompt_extended().
Referenced by ConnectDatabase(), connectDatabase(), doConnect(), get_su_pwd(), GetConnection(), main(), sql_conn(), vacuumlo(), and yesno_prompt().
char* simple_prompt_extended | ( | const char * | prompt, |
bool | echo, | ||
PromptInterruptContext * | prompt_ctx | ||
) |
Definition at line 53 of file sprompt.c.
References _, PromptInterruptContext::canceled, fflush(), pg_get_line(), pg_strdup(), and pg_strip_crlf().
Referenced by exec_command_password(), exec_command_prompt(), prompt_for_password(), and simple_prompt().