]> granicus.if.org Git - postgresql/blob - src/include/catalog/pg_conversion_fn.h
6df77b3bf0629b88d770af67c9b3da8dfb73e78b
[postgresql] / src / include / catalog / pg_conversion_fn.h
1 /*-------------------------------------------------------------------------
2  *
3  * pg_conversion_fn.h
4  *       prototypes for functions in catalog/pg_conversion.c
5  *
6  *
7  * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/catalog/pg_conversion_fn.h,v 1.2 2008/06/14 18:04:34 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PG_CONVERSION_FN_H
15 #define PG_CONVERSION_FN_H
16
17 extern Oid ConversionCreate(const char *conname, Oid connamespace,
18                                  Oid conowner,
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);
24
25 #endif   /* PG_CONVERSION_FN_H */