2002-07-11 09:39:28 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* pg_conversion.h
|
|
|
|
* definition of the system "conversion" relation (pg_conversion)
|
|
|
|
* along with the relation's initial contents.
|
|
|
|
*
|
|
|
|
*
|
2010-01-02 17:58:17 +01:00
|
|
|
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
2002-07-11 09:39:28 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-01-05 02:06:57 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/catalog/pg_conversion.h,v 1.24 2010/01/05 01:06:56 tgl Exp $
|
2002-07-11 09:39:28 +02:00
|
|
|
*
|
|
|
|
* NOTES
|
2010-01-05 02:06:57 +01:00
|
|
|
* the genbki.pl script reads this file and generates .bki
|
2002-07-11 09:39:28 +02:00
|
|
|
* information from the DATA() statements.
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PG_CONVERSION_H
|
|
|
|
#define PG_CONVERSION_H
|
|
|
|
|
2008-03-27 04:57:34 +01:00
|
|
|
#include "catalog/genbki.h"
|
2002-07-11 09:39:28 +02:00
|
|
|
|
|
|
|
/* ----------------------------------------------------------------
|
|
|
|
* pg_conversion definition.
|
|
|
|
*
|
|
|
|
* cpp turns this into typedef struct FormData_pg_namespace
|
|
|
|
*
|
|
|
|
* conname name of the conversion
|
|
|
|
* connamespace name space which the conversion belongs to
|
2002-08-04 08:54:10 +02:00
|
|
|
* conowner owner of the conversion
|
2002-07-11 09:39:28 +02:00
|
|
|
* conforencoding FOR encoding id
|
|
|
|
* contoencoding TO encoding id
|
2002-09-04 22:31:48 +02:00
|
|
|
* conproc OID of the conversion proc
|
2003-09-16 09:47:06 +02:00
|
|
|
* condefault TRUE if this is a default conversion
|
2002-07-11 09:39:28 +02:00
|
|
|
* ----------------------------------------------------------------
|
|
|
|
*/
|
2005-04-14 03:38:22 +02:00
|
|
|
#define ConversionRelationId 2607
|
|
|
|
|
|
|
|
CATALOG(pg_conversion,2607)
|
2002-07-11 09:39:28 +02:00
|
|
|
{
|
|
|
|
NameData conname;
|
|
|
|
Oid connamespace;
|
2005-06-28 07:09:14 +02:00
|
|
|
Oid conowner;
|
2002-07-11 09:39:28 +02:00
|
|
|
int4 conforencoding;
|
|
|
|
int4 contoencoding;
|
|
|
|
regproc conproc;
|
|
|
|
bool condefault;
|
|
|
|
} FormData_pg_conversion;
|
|
|
|
|
|
|
|
/* ----------------
|
|
|
|
* Form_pg_conversion corresponds to a pointer to a tuple with
|
|
|
|
* the format of pg_conversion relation.
|
|
|
|
* ----------------
|
|
|
|
*/
|
|
|
|
typedef FormData_pg_conversion *Form_pg_conversion;
|
|
|
|
|
|
|
|
/* ----------------
|
|
|
|
* compiler constants for pg_conversion
|
|
|
|
* ----------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define Natts_pg_conversion 7
|
|
|
|
#define Anum_pg_conversion_conname 1
|
2002-09-04 22:31:48 +02:00
|
|
|
#define Anum_pg_conversion_connamespace 2
|
2002-07-11 09:39:28 +02:00
|
|
|
#define Anum_pg_conversion_conowner 3
|
|
|
|
#define Anum_pg_conversion_conforencoding 4
|
|
|
|
#define Anum_pg_conversion_contoencoding 5
|
|
|
|
#define Anum_pg_conversion_conproc 6
|
|
|
|
#define Anum_pg_conversion_condefault 7
|
|
|
|
|
|
|
|
/* ----------------
|
|
|
|
* initial contents of pg_conversion
|
|
|
|
* ---------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endif /* PG_CONVERSION_H */
|