From b74f61aabe9391f51169ab899734f177f413ed11 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 6 Aug 2002 14:11:06 +0000 Subject: [PATCH] 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. --- src/include/catalog/pg_conversion.h | 4 +--- src/include/utils/builtins.h | 5 ++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/include/catalog/pg_conversion.h b/src/include/catalog/pg_conversion.h index e250d6d5d0..4b90c787de 100644 --- a/src/include/catalog/pg_conversion.h +++ b/src/include/catalog/pg_conversion.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * 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 * the genbki.sh script reads this file and generates .bki @@ -93,6 +93,4 @@ extern void RemoveConversionById(Oid conversionOid); extern Oid FindConversion(const char *conname, Oid connamespace); extern Oid FindDefaultConversion(Oid connamespace, int4 for_encoding, int4 to_encoding); -extern Datum pg_convert3(PG_FUNCTION_ARGS); - #endif /* PG_CONVERSION_H */ diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 3abcc69dcd..a138e2d2ff 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * 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); extern Datum show_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 */ -- 2.40.0