Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef PG_COLLATION_H
00021 #define PG_COLLATION_H
00022
00023 #include "catalog/genbki.h"
00024
00025
00026
00027
00028
00029
00030 #define CollationRelationId 3456
00031
00032 CATALOG(pg_collation,3456)
00033 {
00034 NameData collname;
00035 Oid collnamespace;
00036 Oid collowner;
00037 int32 collencoding;
00038 NameData collcollate;
00039 NameData collctype;
00040 } FormData_pg_collation;
00041
00042
00043
00044
00045
00046
00047 typedef FormData_pg_collation *Form_pg_collation;
00048
00049
00050
00051
00052
00053 #define Natts_pg_collation 6
00054 #define Anum_pg_collation_collname 1
00055 #define Anum_pg_collation_collnamespace 2
00056 #define Anum_pg_collation_collowner 3
00057 #define Anum_pg_collation_collencoding 4
00058 #define Anum_pg_collation_collcollate 5
00059 #define Anum_pg_collation_collctype 6
00060
00061
00062
00063
00064
00065
00066 DATA(insert OID = 100 ( default PGNSP PGUID -1 "" "" ));
00067 DESCR("database's default collation");
00068 #define DEFAULT_COLLATION_OID 100
00069 DATA(insert OID = 950 ( C PGNSP PGUID -1 "C" "C" ));
00070 DESCR("standard C collation");
00071 #define C_COLLATION_OID 950
00072 DATA(insert OID = 951 ( POSIX PGNSP PGUID -1 "POSIX" "POSIX" ));
00073 DESCR("standard POSIX collation");
00074 #define POSIX_COLLATION_OID 951
00075
00076 #endif