PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_collation.h File Reference
#include "catalog/genbki.h"
Include dependency graph for pg_collation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CollationRelationId   3456
 
#define Natts_pg_collation   8
 
#define Anum_pg_collation_collname   1
 
#define Anum_pg_collation_collnamespace   2
 
#define Anum_pg_collation_collowner   3
 
#define Anum_pg_collation_collprovider   4
 
#define Anum_pg_collation_collencoding   5
 
#define Anum_pg_collation_collcollate   6
 
#define Anum_pg_collation_collctype   7
 
#define Anum_pg_collation_collversion   8
 
#define DEFAULT_COLLATION_OID   100
 
#define C_COLLATION_OID   950
 
#define POSIX_COLLATION_OID   951
 
#define COLLPROVIDER_DEFAULT   'd'
 
#define COLLPROVIDER_ICU   'i'
 
#define COLLPROVIDER_LIBC   'c'
 

Typedefs

typedef FormData_pg_collationForm_pg_collation
 

Functions

 CATALOG (pg_collation, 3456)
 
 DATA (insert OID=100(defaultPGNSP PGUID d-1""""_null_))
 
 DESCR ("database's default collation")
 
 DESCR ("standard C collation")
 
 DESCR ("standard POSIX collation")
 

Variables

 FormData_pg_collation
 

Macro Definition Documentation

#define Anum_pg_collation_collcollate   6

Definition at line 64 of file pg_collation.h.

Referenced by CollationCreate().

#define Anum_pg_collation_collctype   7

Definition at line 65 of file pg_collation.h.

Referenced by CollationCreate().

#define Anum_pg_collation_collencoding   5

Definition at line 63 of file pg_collation.h.

Referenced by CollationCreate().

#define Anum_pg_collation_collname   1

Definition at line 59 of file pg_collation.h.

Referenced by CollationCreate().

#define Anum_pg_collation_collnamespace   2

Definition at line 60 of file pg_collation.h.

Referenced by CollationCreate().

#define Anum_pg_collation_collowner   3

Definition at line 61 of file pg_collation.h.

Referenced by CollationCreate().

#define Anum_pg_collation_collprovider   4

Definition at line 62 of file pg_collation.h.

Referenced by CollationCreate().

#define Anum_pg_collation_collversion   8

Definition at line 66 of file pg_collation.h.

Referenced by AlterCollation(), CollationCreate(), and pg_newlocale_from_collation().

#define COLLPROVIDER_DEFAULT   'd'

Definition at line 84 of file pg_collation.h.

Referenced by DefineCollation().

#define Natts_pg_collation   8

Definition at line 58 of file pg_collation.h.

Referenced by AlterCollation(), and CollationCreate().

#define POSIX_COLLATION_OID   951

Definition at line 81 of file pg_collation.h.

Referenced by lc_collate_is_c(), and lc_ctype_is_c().

Typedef Documentation

Function Documentation

CATALOG ( pg_collation  ,
3456   
)

Definition at line 32 of file pg_collation.h.

33 {
34  NameData collname; /* collation name */
35  Oid collnamespace; /* OID of namespace containing collation */
36  Oid collowner; /* owner of collation */
37  char collprovider; /* see constants below */
38  int32 collencoding; /* encoding for this collation; -1 = "all" */
39  NameData collcollate; /* LC_COLLATE setting */
40  NameData collctype; /* LC_CTYPE setting */
41 #ifdef CATALOG_VARLEN /* variable-length fields start here */
42  text collversion; /* provider-dependent version of collation
43  * data */
44 #endif
unsigned int Oid
Definition: postgres_ext.h:31
signed int int32
Definition: c.h:246
Definition: c.h:487
FormData_pg_collation
Definition: pg_collation.h:45
Definition: c.h:433
DATA ( insert  OID = 100(defaultPGNSP PGUID d-1""""_null_))
DESCR ( "database's default collation"  )
DESCR ( "standard C collation"  )
DESCR ( "standard POSIX collation"  )

Variable Documentation

FormData_pg_collation

Definition at line 45 of file pg_collation.h.