1 /*-------------------------------------------------------------------------
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
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)
49 } FormData_pg_conversion
;
52 * Form_pg_conversion corresponds to a pointer to a tuple with
53 * the format of pg_conversion relation.
56 typedef FormData_pg_conversion
*Form_pg_conversion
;
59 * compiler constants for pg_conversion
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
73 * initial contents of pg_conversion
77 #endif /* PG_CONVERSION_H */