Skip to main content

Module collations

Module collations 

Source
Expand description

Built-in collation identities shared by declarations and OID alias input/output.

Modules§

declarations
Declaration collation selection and retained attribute identities.
expression
Collation-clause identity and type validation shared by expression analysis and catalog encoding.

Structs§

CollationSelection
A collation that analysis selected for a call’s inputs: one of the fixed built-in collations, or the indeterminate selection that PostgreSQL records as InvalidOid. It occupies one byte, so retaining it keeps a call binding within its shared expression storage bound, and it is serialized as the PostgreSQL collation OID, with zero for the indeterminate selection.

Enums§

BuiltinCollationCtype
Character classification and case mapping of a fixed built-in collation, as PostgreSQL derives them from the collation’s provider and locale (pg_locale_t). The database default is UQA’s builtin PG_UNICODE_FAST.
BuiltinCollationOrder
Executable ordering of the fixed deterministic built-ins. The database default is UQA’s builtin PG_UNICODE_FAST; selecting unicode chooses root ICU instead.

Constants§

C_COLLATION_OID
DEFAULT_COLLATION_OID
The database-default collation’s predefined PostgreSQL catalog identity.

Functions§

builtin_collation_ctype
The character semantics of a built-in collation selected by its catalog OID.
builtin_collation_name
The name of a built-in collation selected by its catalog OID.
builtin_collation_oid
The pg_collation OID of a built-in collation name.
builtin_collation_order