PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_conversion_fn.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_conversion_fn.h
4  * prototypes for functions in catalog/pg_conversion.c
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/catalog/pg_conversion_fn.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PG_CONVERSION_FN_H
15 #define PG_CONVERSION_FN_H
16 
17 
18 #include "catalog/objectaddress.h"
19 
20 extern ObjectAddress ConversionCreate(const char *conname, Oid connamespace,
21  Oid conowner,
22  int32 conforencoding, int32 contoencoding,
23  Oid conproc, bool def);
24 extern void RemoveConversionById(Oid conversionOid);
25 extern Oid FindDefaultConversion(Oid connamespace, int32 for_encoding, int32 to_encoding);
26 
27 #endif /* PG_CONVERSION_FN_H */
void RemoveConversionById(Oid conversionOid)
unsigned int Oid
Definition: postgres_ext.h:31
signed int int32
Definition: c.h:253
Oid FindDefaultConversion(Oid connamespace, int32 for_encoding, int32 to_encoding)
ObjectAddress ConversionCreate(const char *conname, Oid connamespace, Oid conowner, int32 conforencoding, int32 contoencoding, Oid conproc, bool def)
Definition: pg_conversion.c:41