Commit b74f61aa authored by Tom Lane's avatar Tom Lane

Move pg_convert3 declaration to suppress compile warning. Really

pg_convert3 does not belong in a backend/catalog file at all, IMHO;
it should be in utils/adt.
parent 6206a880
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: pg_conversion.h,v 1.4 2002/08/06 05:40:45 ishii Exp $ * $Id: pg_conversion.h,v 1.5 2002/08/06 14:11:06 tgl Exp $
* *
* NOTES * NOTES
* the genbki.sh script reads this file and generates .bki * the genbki.sh script reads this file and generates .bki
...@@ -93,6 +93,4 @@ extern void RemoveConversionById(Oid conversionOid); ...@@ -93,6 +93,4 @@ extern void RemoveConversionById(Oid conversionOid);
extern Oid FindConversion(const char *conname, Oid connamespace); extern Oid FindConversion(const char *conname, Oid connamespace);
extern Oid FindDefaultConversion(Oid connamespace, int4 for_encoding, int4 to_encoding); extern Oid FindDefaultConversion(Oid connamespace, int4 for_encoding, int4 to_encoding);
extern Datum pg_convert3(PG_FUNCTION_ARGS);
#endif /* PG_CONVERSION_H */ #endif /* PG_CONVERSION_H */
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: builtins.h,v 1.188 2002/07/29 22:14:11 tgl Exp $ * $Id: builtins.h,v 1.189 2002/08/06 14:11:05 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -639,4 +639,7 @@ extern Datum quote_literal(PG_FUNCTION_ARGS); ...@@ -639,4 +639,7 @@ extern Datum quote_literal(PG_FUNCTION_ARGS);
extern Datum show_config_by_name(PG_FUNCTION_ARGS); extern Datum show_config_by_name(PG_FUNCTION_ARGS);
extern Datum set_config_by_name(PG_FUNCTION_ARGS); extern Datum set_config_by_name(PG_FUNCTION_ARGS);
/* catalog/pg_conversion.c */
extern Datum pg_convert3(PG_FUNCTION_ARGS);
#endif /* BUILTINS_H */ #endif /* BUILTINS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment