PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
char * | str_tolower (const char *buff, size_t nbytes, Oid collid) |
char * | str_toupper (const char *buff, size_t nbytes, Oid collid) |
char * | str_initcap (const char *buff, size_t nbytes, Oid collid) |
char * | asc_tolower (const char *buff, size_t nbytes) |
char * | asc_toupper (const char *buff, size_t nbytes) |
char * | asc_initcap (const char *buff, size_t nbytes) |
Datum | parse_datetime (text *date_txt, text *fmt, Oid collid, bool strict, Oid *typid, int32 *typmod, int *tz, bool *have_error) |
char* asc_initcap | ( | const char * | buff, |
size_t | nbytes | ||
) |
Definition at line 2081 of file formatting.c.
References pg_ascii_tolower(), pg_ascii_toupper(), and pnstrdup().
Referenced by str_initcap().
char* asc_tolower | ( | const char * | buff, |
size_t | nbytes | ||
) |
Definition at line 2035 of file formatting.c.
References pg_ascii_tolower(), and pnstrdup().
Referenced by asc_tolower_z(), get_collation_version_for_oid(), and str_tolower().
char* asc_toupper | ( | const char * | buff, |
size_t | nbytes | ||
) |
Definition at line 2058 of file formatting.c.
References pg_ascii_toupper(), and pnstrdup().
Referenced by asc_toupper_z(), and str_toupper().
Datum parse_datetime | ( | text * | date_txt, |
text * | fmt, | ||
Oid | collid, | ||
bool | strict, | ||
Oid * | typid, | ||
int32 * | typmod, | ||
int * | tz, | ||
bool * | have_error | ||
) |
Definition at line 4282 of file formatting.c.
References AdjustTimeForTypmod(), AdjustTimestampForTypmod(), Assert, CHECK_ERROR, date2j(), DateADTGetDatum, DateTimeParseError(), DCH_DATED, DCH_TIMED, DCH_ZONED, DecodeTimezone(), do_to_timestamp(), ereport, errcode(), errmsg(), ERROR, TmToChar::fsec, IS_VALID_DATE, IS_VALID_JULIAN, palloc(), POSTGRES_EPOCH_JDATE, RETURN_ERROR, text_to_cstring(), TimeTzADT::time, TimeADTGetDatum, TimestampGetDatum, TimestampTzGetDatum, TimeTzADTPGetDatum, tm2time(), tm2timestamp(), tm2timetz(), pg_tm::tm_mday, pg_tm::tm_mon, pg_tm::tm_year, pg_tm::tm_zone, and unconstify.
Referenced by executeDateTimeMethod().
char* str_initcap | ( | const char * | buff, |
size_t | nbytes, | ||
Oid | collid | ||
) |
Definition at line 1886 of file formatting.c.
References asc_initcap(), char2wchar(), ereport, errcode(), errhint(), errmsg(), ERROR, pg_locale_struct::info, isalnum_l, iswalnum_l, lc_ctype_is_c(), OidIsValid, palloc(), pfree(), pg_database_encoding_max_length(), pg_newlocale_from_collation(), pg_tolower(), pg_toupper(), pnstrdup(), pg_locale_struct::provider, tolower_l, toupper_l, towlower_l, towupper_l, and wchar2char().
Referenced by initcap(), and str_initcap_z().
char* str_tolower | ( | const char * | buff, |
size_t | nbytes, | ||
Oid | collid | ||
) |
Definition at line 1638 of file formatting.c.
References asc_tolower(), char2wchar(), ereport, errcode(), errhint(), errmsg(), ERROR, pg_locale_struct::info, lc_ctype_is_c(), OidIsValid, palloc(), pfree(), pg_database_encoding_max_length(), pg_newlocale_from_collation(), pg_tolower(), pnstrdup(), pg_locale_struct::provider, tolower_l, towlower_l, and wchar2char().
Referenced by citext_eq(), citext_hash(), citext_hash_extended(), citext_ne(), citextcmp(), internal_citext_pattern_cmp(), lower(), ltree_strncasecmp(), seq_search_localized(), and str_tolower_z().
char* str_toupper | ( | const char * | buff, |
size_t | nbytes, | ||
Oid | collid | ||
) |
Definition at line 1762 of file formatting.c.
References asc_toupper(), char2wchar(), ereport, errcode(), errhint(), errmsg(), ERROR, pg_locale_struct::info, lc_ctype_is_c(), OidIsValid, palloc(), pfree(), pg_database_encoding_max_length(), pg_newlocale_from_collation(), pg_toupper(), pnstrdup(), pg_locale_struct::provider, toupper_l, towupper_l, and wchar2char().
Referenced by seq_search_localized(), str_toupper_z(), and upper().