|
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 * | str_casefold (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, struct Node *escontext) |
| bool | datetime_format_has_tz (const char *fmt_str) |
| char * asc_initcap | ( | const char * | buff, |
| size_t | nbytes | ||
| ) |
Definition at line 1931 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 1887 of file formatting.c.
References pg_ascii_tolower(), and pnstrdup().
Referenced by asc_tolower_z(), str_casefold(), and str_tolower().
| char * asc_toupper | ( | const char * | buff, |
| size_t | nbytes | ||
| ) |
Definition at line 1909 of file formatting.c.
References pg_ascii_toupper(), and pnstrdup().
Referenced by asc_toupper_z(), and str_toupper().
| bool datetime_format_has_tz | ( | const char * | fmt_str | ) |
Definition at line 4324 of file formatting.c.
References DCH_cache_fetch(), DCH_CACHE_SIZE, DCH_datetime_type(), DCH_FLAG, DCH_index, DCH_keywords, DCH_suff, DCH_ZONED, DCHCacheEntry::format, format, palloc(), parse_format(), and pfree().
Referenced by jspIsMutableWalker().
| Datum parse_datetime | ( | text * | date_txt, |
| text * | fmt, | ||
| Oid | collid, | ||
| bool | strict, | ||
| Oid * | typid, | ||
| int32 * | typmod, | ||
| int * | tz, | ||
| struct Node * | escontext | ||
| ) |
Definition at line 4163 of file formatting.c.
References AdjustTimeForTypmod(), AdjustTimestampForTypmod(), Assert(), collid, date2j(), DateADTGetDatum(), DCH_DATED, DCH_TIMED, DCH_ZONED, do_to_timestamp(), ereturn, errcode(), errmsg(), fmt_tz::gmtoffset, fmt_tz::has_tz, IS_VALID_DATE, IS_VALID_JULIAN, palloc(), POSTGRES_EPOCH_JDATE, text_to_cstring(), TimeTzADT::time, TimeADTGetDatum(), TimestampGetDatum(), TimestampTzGetDatum(), TimeTzADTPGetDatum(), tm, tm2time(), tm2timestamp(), tm2timetz(), pg_tm::tm_mday, pg_tm::tm_mon, and pg_tm::tm_year.
Referenced by executeDateTimeMethod().
| char * str_casefold | ( | const char * | buff, |
| size_t | nbytes, | ||
| Oid | collid | ||
| ) |
Definition at line 1818 of file formatting.c.
References asc_tolower(), Assert(), collid, pg_locale_struct::ctype_is_c, ereport, errcode(), errhint(), errmsg(), ERROR, GetDatabaseEncoding(), OidIsValid, palloc(), pg_newlocale_from_collation(), pg_strfold(), PG_UTF8, and repalloc().
Referenced by casefold().
| char * str_initcap | ( | const char * | buff, |
| size_t | nbytes, | ||
| Oid | collid | ||
| ) |
Definition at line 1754 of file formatting.c.
References asc_initcap(), Assert(), collid, pg_locale_struct::ctype_is_c, ereport, errcode(), errhint(), errmsg(), ERROR, OidIsValid, palloc(), pg_newlocale_from_collation(), pg_strtitle(), and repalloc().
Referenced by initcap(), and str_initcap_z().
| char * str_tolower | ( | const char * | buff, |
| size_t | nbytes, | ||
| Oid | collid | ||
| ) |
Definition at line 1626 of file formatting.c.
References asc_tolower(), Assert(), collid, pg_locale_struct::ctype_is_c, ereport, errcode(), errhint(), errmsg(), ERROR, OidIsValid, palloc(), pg_newlocale_from_collation(), pg_strlower(), and repalloc().
Referenced by citext_eq(), citext_hash(), citext_hash_extended(), citext_ne(), citextcmp(), convertPgWchar(), dispell_init(), dispell_lexize(), dsimple_init(), dsimple_lexize(), dsnowball_init(), dsnowball_lexize(), dsynonym_init(), dsynonym_lexize(), dxsyn_lexize(), generate_trgm_only(), generate_wildcard_trgm(), internal_citext_pattern_cmp(), lower(), lowerstr_ctx(), ltree_strncasecmp(), NIImportAffixes(), read_dictionary(), seq_search_localized(), and str_tolower_z().
| char * str_toupper | ( | const char * | buff, |
| size_t | nbytes, | ||
| Oid | collid | ||
| ) |
Definition at line 1690 of file formatting.c.
References asc_toupper(), Assert(), collid, pg_locale_struct::ctype_is_c, ereport, errcode(), errhint(), errmsg(), ERROR, OidIsValid, palloc(), pg_newlocale_from_collation(), pg_strupper(), and repalloc().
Referenced by seq_search_localized(), str_toupper_z(), and upper().