Fix pg_dump bug in the database-level collation patch. "datcollate" and
[PostgreSQL.git] / src / include / catalog / pg_conversion_fn.h
blobc23233bfeec41ef07d79bf2ca5e974b0c0718e40
1 /*-------------------------------------------------------------------------
3 * pg_conversion_fn.h
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
10 * $PostgreSQL$
12 *-------------------------------------------------------------------------
14 #ifndef PG_CONVERSION_FN_H
15 #define PG_CONVERSION_FN_H
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);
25 #endif /* PG_CONVERSION_FN_H */