PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
char * | downcase_truncate_identifier (const char *ident, int len, bool warn) |
char * | downcase_identifier (const char *ident, int len, bool warn, bool truncate) |
void | truncate_identifier (char *ident, int len, bool warn) |
bool | scanner_isspace (char ch) |
char* downcase_identifier | ( | const char * | ident, |
int | len, | ||
bool | warn, | ||
bool | truncate | ||
) |
Definition at line 46 of file scansup.c.
References i, ident, IS_HIGHBIT_SET, len, NAMEDATALEN, palloc(), pg_database_encoding_max_length(), and truncate_identifier().
Referenced by downcase_truncate_identifier(), and parse_ident().
char* downcase_truncate_identifier | ( | const char * | ident, |
int | len, | ||
bool | warn | ||
) |
Definition at line 37 of file scansup.c.
References downcase_identifier(), ident, and len.
Referenced by DecodeTimezoneName(), extract_date(), find_provider(), interval_part_common(), interval_trunc(), SplitIdentifierString(), time_part_common(), timestamp_part_common(), timestamp_trunc(), timestamptz_part_common(), timestamptz_trunc_internal(), and timetz_part_common().
bool scanner_isspace | ( | char | ch | ) |
Definition at line 117 of file scansup.c.
Referenced by array_in(), array_out(), check_uescapechar(), CleanQuerytext(), CreateSchemaCommand(), from_char_seq_search(), get_val(), parse_hstore(), parse_ident(), parseNameAndArgTypes(), ReadArrayDimensions(), ReadArrayToken(), SplitDirectoriesString(), SplitGUCList(), and SplitIdentifierString().
void truncate_identifier | ( | char * | ident, |
int | len, | ||
bool | warn | ||
) |
Definition at line 93 of file scansup.c.
References ereport, errcode(), errmsg(), ident, len, NAMEDATALEN, NOTICE, and pg_mbcliplen().
Referenced by base_yylex(), createNewConnection(), deleteConnection(), downcase_identifier(), get_connect_string(), getConnectionByName(), parse_and_validate_value(), and SplitIdentifierString().