18 #ifndef PG_COLLATION_H
19 #define PG_COLLATION_H
22 #include "catalog/pg_collation_d.h"
29 CATALOG(pg_collation,3456,CollationRelationId)
62 DECLARE_UNIQUE_INDEX(pg_collation_name_enc_nsp_index, 3164, CollationNameEncNspIndexId, pg_collation, btree(collname name_ops, collencoding int4_ops, collnamespace oid_ops));
65 #ifdef EXPOSE_TO_CLIENT_CODE
67 #define COLLPROVIDER_DEFAULT 'd'
68 #define COLLPROVIDER_ICU 'i'
69 #define COLLPROVIDER_LIBC 'c'
71 static inline const char *
72 collprovider_name(
char c)
76 case COLLPROVIDER_ICU:
78 case COLLPROVIDER_LIBC:
91 bool collisdeterministic,
93 const char *collcollate,
const char *collctype,
94 const char *colliculocale,
95 const char *collicurules,
96 const char *collversion,
#define BKI_LOOKUP(catalog)
#define BKI_DEFAULT(value)
DECLARE_UNIQUE_INDEX(pg_collation_name_enc_nsp_index, 3164, CollationNameEncNspIndexId, pg_collation, btree(collname name_ops, collencoding int4_ops, collnamespace oid_ops))
FormData_pg_collation * Form_pg_collation
CATALOG(pg_collation, 3456, CollationRelationId)
DECLARE_TOAST(pg_collation, 6175, 6176)
DECLARE_UNIQUE_INDEX_PKEY(pg_collation_oid_index, 3085, CollationOidIndexId, pg_collation, btree(oid oid_ops))
Oid CollationCreate(const char *collname, Oid collnamespace, Oid collowner, char collprovider, bool collisdeterministic, int32 collencoding, const char *collcollate, const char *collctype, const char *colliculocale, const char *collicurules, const char *collversion, bool if_not_exists, bool quiet)