|
PostgreSQL Source Code git master
|
#include <signal.h>

Go to the source code of this file.
Data Structures | |
| struct | PromptInterruptContext |
Typedefs | |
| typedef struct StringInfoData * | StringInfo |
| typedef struct PromptInterruptContext | PromptInterruptContext |
Functions | |
| bool | pg_str_endswith (const char *str, const char *end) |
| int | strtoint (const char *pg_restrict str, char **pg_restrict endptr, int base) |
| char * | pg_clean_ascii (const char *str, int alloc_flags) |
| int | pg_strip_crlf (char *str) |
| bool | pg_is_ascii (const char *str) |
| 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 * | simple_prompt (const char *prompt, bool echo) |
| char * | simple_prompt_extended (const char *prompt, bool echo, PromptInterruptContext *prompt_ctx) |
Definition at line 85 of file string.c.
References Assert, fb(), i, malloc, palloc_extended(), snprintf, and str.
Referenced by check_application_name(), check_cluster_name(), prepare_cert_name(), and ProcessStartupPacket().
|
extern |
Definition at line 59 of file pg_get_line.c.
References buf, fb(), initStringInfo(), pfree(), and pg_get_line_append().
Referenced by get_su_pwd(), pipe_read_line(), and simple_prompt_extended().
|
extern |
Definition at line 124 of file pg_get_line.c.
References buf, enlargeStringInfo(), and fb().
Referenced by pg_get_line(), pg_get_line_buf(), and tokenize_auth_file().
|
extern |
Definition at line 95 of file pg_get_line.c.
References buf, fb(), 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().
Definition at line 132 of file string.c.
References IS_HIGHBIT_SET, and str.
Referenced by check_locale(), check_locale_name(), parse_key_value_arrays(), pg_import_system_collations(), and pg_saslprep().
Definition at line 31 of file string.c.
Referenced by decide_file_action(), and StartupReplicationSlots().
Definition at line 154 of file string.c.
References fb(), len, and str.
Referenced by adjust_data_dir(), adjust_data_dir(), check_exec(), get_control_data(), get_prompt(), get_sock_dir(), get_su_pwd(), getRestoreCommand(), passwordFromFile(), run_ssl_passphrase_command(), simple_prompt_extended(), and tokenize_auth_file().
Definition at line 38 of file sprompt.c.
References fb(), and simple_prompt_extended().
Referenced by ConnectDatabase(), connectDatabase(), ConnectDatabaseAhx(), doConnect(), get_su_pwd(), GetConnection(), main(), sql_conn(), vacuumlo(), and yesno_prompt().
|
extern |
Definition at line 53 of file sprompt.c.
References _, fb(), pg_get_line(), pg_strdup(), and pg_strip_crlf().
Referenced by exec_command_password(), exec_command_prompt(), prompt_for_password(), and simple_prompt().
|
extern |
Definition at line 50 of file string.c.
References fb(), str, and val.
Referenced by buildDefItem(), DecodeDateTime(), DecodeDateTime(), DecodeInterval(), DecodeInterval(), DecodeNumber(), DecodeNumber(), DecodeNumberField(), DecodeTime(), DecodeTimeCommon(), DecodeTimeOnly(), DecodeTimezone(), DecodeTimezone(), exec_command_watch(), get_path_all(), jsonb_get_element(), nodeTokenType(), option_parse_int(), process_integer_literal(), push_path(), px_crypt_shacrypt(), and setPathArray().