Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
pg_collation_d.h64 linesDownload Raw Back to catalog
1/*-------------------------------------------------------------------------
2 *
3 * pg_collation_d.h
4 *    Macro definitions for pg_collation
5 *
6 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
8 *
9 * NOTES
10 *  ******************************
11 *  *** DO NOT EDIT THIS FILE! ***
12 *  ******************************
13 *
14 *  It has been GENERATED by src/backend/catalog/genbki.pl
15 *
16 *-------------------------------------------------------------------------
17 */
18#ifndef PG_COLLATION_D_H
19#define PG_COLLATION_D_H
20
21#define CollationRelationId 3456
22#define CollationNameEncNspIndexId 3164
23#define CollationOidIndexId 3085
24
25#define Anum_pg_collation_oid 1
26#define Anum_pg_collation_collname 2
27#define Anum_pg_collation_collnamespace 3
28#define Anum_pg_collation_collowner 4
29#define Anum_pg_collation_collprovider 5
30#define Anum_pg_collation_collisdeterministic 6
31#define Anum_pg_collation_collencoding 7
32#define Anum_pg_collation_collcollate 8
33#define Anum_pg_collation_collctype 9
34#define Anum_pg_collation_colliculocale 10
35#define Anum_pg_collation_collicurules 11
36#define Anum_pg_collation_collversion 12
37
38#define Natts_pg_collation 12
39
40
41#define COLLPROVIDER_DEFAULT	'd'
42#define COLLPROVIDER_ICU		'i'
43#define COLLPROVIDER_LIBC		'c'
44
45static inline const char *
46collprovider_name(char c)
47{
48	switch (c)
49	{
50		case COLLPROVIDER_ICU:
51			return "icu";
52		case COLLPROVIDER_LIBC:
53			return "libc";
54		default:
55			return "???";
56	}
57}
58
59#define DEFAULT_COLLATION_OID 100
60#define C_COLLATION_OID 950
61#define POSIX_COLLATION_OID 951
62
63#endif							/* PG_COLLATION_D_H */
64 
codekingpro/portable-devtools · Team Ai