|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Functions | |
| bool | pg_str_endswith (const char *str, const char *end) |
| int | strtoint (const char *restrict str, char **restrict endptr, int base) |
| char * | pg_clean_ascii (const char *str, int alloc_flags) |
| bool | pg_is_ascii (const char *str) |
| int | pg_strip_crlf (char *str) |
| char * pg_clean_ascii | ( | const char * | str, |
| int | alloc_flags | ||
| ) |
Definition at line 85 of file string.c.
References Assert(), i, malloc, palloc_extended(), snprintf, and str.
Referenced by check_application_name(), check_cluster_name(), prepare_cert_name(), and ProcessStartupPacket().
| bool pg_is_ascii | ( | const char * | str | ) |
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().
| bool pg_str_endswith | ( | const char * | str, |
| const char * | end | ||
| ) |
Definition at line 31 of file string.c.
References str.
Referenced by decide_file_action(), and StartupReplicationSlots().
| int pg_strip_crlf | ( | char * | str | ) |
Definition at line 154 of file string.c.
Referenced by 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().
| int strtoint | ( | const char *restrict | str, |
| char **restrict | endptr, | ||
| int | base | ||
| ) |
Definition at line 50 of file string.c.
Referenced by buildDefItem(), DecodeDateTime(), DecodeInterval(), DecodeNumber(), DecodeNumberField(), DecodeTime(), DecodeTimeCommon(), DecodeTimeOnly(), DecodeTimezone(), exec_command_watch(), get_path_all(), jsonb_get_element(), nodeTokenType(), option_parse_int(), process_integer_literal(), push_path(), px_crypt_shacrypt(), and setPathArray().