1 /*-------------------------------------------------------------------------
4 * prototypes for functions in catalog/pg_conversion.c
7 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
12 *-------------------------------------------------------------------------
14 #ifndef PG_CONVERSION_FN_H
15 #define PG_CONVERSION_FN_H
17 extern Oid
ConversionCreate(const char *conname
, Oid connamespace
,
19 int32 conforencoding
, int32 contoencoding
,
20 Oid conproc
, bool def
);
21 extern void RemoveConversionById(Oid conversionOid
);
22 extern Oid
FindConversion(const char *conname
, Oid connamespace
);
23 extern Oid
FindDefaultConversion(Oid connamespace
, int32 for_encoding
, int32 to_encoding
);
25 #endif /* PG_CONVERSION_FN_H */