Header And Logo

PostgreSQL
| The world's most advanced open source database.

pg_conversion_fn.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * pg_conversion_fn.h
00004  *   prototypes for functions in catalog/pg_conversion.c
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/catalog/pg_conversion_fn.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef PG_CONVERSION_FN_H
00015 #define PG_CONVERSION_FN_H
00016 
00017 extern Oid ConversionCreate(const char *conname, Oid connamespace,
00018                  Oid conowner,
00019                  int32 conforencoding, int32 contoencoding,
00020                  Oid conproc, bool def);
00021 extern void RemoveConversionById(Oid conversionOid);
00022 extern Oid  FindDefaultConversion(Oid connamespace, int32 for_encoding, int32 to_encoding);
00023 
00024 #endif   /* PG_CONVERSION_FN_H */