|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/htup_details.h"#include "catalog/pg_database.h"#include "catalog/pg_collation.h"#include "mb/pg_wchar.h"#include "miscadmin.h"#include "utils/builtins.h"#include "utils/formatting.h"#include "utils/memutils.h"#include "utils/pg_locale.h"#include "utils/syscache.h"
Go to the source code of this file.
Macros | |
| #define | TEXTBUFLEN 1024 |
Functions | |
| pg_locale_t | create_pg_locale_icu (Oid collid, MemoryContext context) |
| #define TEXTBUFLEN 1024 |
Definition at line 48 of file pg_locale_icu.c.
| pg_locale_t create_pg_locale_icu | ( | Oid | collid, |
| MemoryContext | context | ||
| ) |
Definition at line 248 of file pg_locale_icu.c.
References pg_locale_struct::collate, pg_locale_struct::collate_is_c, collid, pg_locale_struct::ctype, pg_locale_struct::ctype_is_c, pg_locale_struct::deterministic, elog, ereport, errcode(), errmsg(), ERROR, GetDatabaseEncoding(), GETSTRUCT(), HeapTupleIsValid, pg_locale_struct::locale, MemoryContextAllocZero(), MemoryContextStrdup(), MyDatabaseId, ObjectIdGetDatum(), PG_UTF8, ReleaseSysCache(), SearchSysCache1(), SysCacheGetAttr(), SysCacheGetAttrNotNull(), and TextDatumGetCString.
Referenced by create_pg_locale(), and init_database_collation().