2008-03-27 04:57:34 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* pg_conversion_fn.h
|
2009-06-11 16:49:15 +02:00
|
|
|
* prototypes for functions in catalog/pg_conversion.c
|
2008-03-27 04:57:34 +01:00
|
|
|
*
|
|
|
|
*
|
2013-01-01 23:15:01 +01:00
|
|
|
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
|
2008-03-27 04:57:34 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/catalog/pg_conversion_fn.h
|
2008-03-27 04:57:34 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PG_CONVERSION_FN_H
|
|
|
|
#define PG_CONVERSION_FN_H
|
|
|
|
|
|
|
|
extern Oid ConversionCreate(const char *conname, Oid connamespace,
|
|
|
|
Oid conowner,
|
|
|
|
int32 conforencoding, int32 contoencoding,
|
|
|
|
Oid conproc, bool def);
|
|
|
|
extern void RemoveConversionById(Oid conversionOid);
|
|
|
|
extern Oid FindDefaultConversion(Oid connamespace, int32 for_encoding, int32 to_encoding);
|
|
|
|
|
|
|
|
#endif /* PG_CONVERSION_FN_H */
|