Fix pg_dump bug in the database-level collation patch. "datcollate" and
[PostgreSQL.git] / src / include / catalog / pg_conversion.h
blob7f0f37dc5abc0f4d5ebbb121d72c63afb3f2667e
1 /*-------------------------------------------------------------------------
3 * pg_conversion.h
4 * definition of the system "conversion" relation (pg_conversion)
5 * along with the relation's initial contents.
8 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
11 * $PostgreSQL$
13 * NOTES
14 * the genbki.sh script reads this file and generates .bki
15 * information from the DATA() statements.
17 *-------------------------------------------------------------------------
19 #ifndef PG_CONVERSION_H
20 #define PG_CONVERSION_H
22 #include "catalog/genbki.h"
24 /* ----------------------------------------------------------------
25 * pg_conversion definition.
27 * cpp turns this into typedef struct FormData_pg_namespace
29 * conname name of the conversion
30 * connamespace name space which the conversion belongs to
31 * conowner owner of the conversion
32 * conforencoding FOR encoding id
33 * contoencoding TO encoding id
34 * conproc OID of the conversion proc
35 * condefault TRUE if this is a default conversion
36 * ----------------------------------------------------------------
38 #define ConversionRelationId 2607
40 CATALOG(pg_conversion,2607)
42 NameData conname;
43 Oid connamespace;
44 Oid conowner;
45 int4 conforencoding;
46 int4 contoencoding;
47 regproc conproc;
48 bool condefault;
49 } FormData_pg_conversion;
51 /* ----------------
52 * Form_pg_conversion corresponds to a pointer to a tuple with
53 * the format of pg_conversion relation.
54 * ----------------
56 typedef FormData_pg_conversion *Form_pg_conversion;
58 /* ----------------
59 * compiler constants for pg_conversion
60 * ----------------
63 #define Natts_pg_conversion 7
64 #define Anum_pg_conversion_conname 1
65 #define Anum_pg_conversion_connamespace 2
66 #define Anum_pg_conversion_conowner 3
67 #define Anum_pg_conversion_conforencoding 4
68 #define Anum_pg_conversion_contoencoding 5
69 #define Anum_pg_conversion_conproc 6
70 #define Anum_pg_conversion_condefault 7
72 /* ----------------
73 * initial contents of pg_conversion
74 * ---------------
77 #endif /* PG_CONVERSION_H */