Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb74f61a

Browse files
committed
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.
1 parent6206a88 commitb74f61a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎src/include/catalog/pg_conversion.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $Id: pg_conversion.h,v 1.4 2002/08/0605:40:45 ishii Exp $
11+
* $Id: pg_conversion.h,v 1.5 2002/08/0614:11:06 tgl Exp $
1212
*
1313
* NOTES
1414
* the genbki.sh script reads this file and generates .bki
@@ -93,6 +93,4 @@ extern void RemoveConversionById(Oid conversionOid);
9393
externOidFindConversion(constchar*conname,Oidconnamespace);
9494
externOidFindDefaultConversion(Oidconnamespace,int4for_encoding,int4to_encoding);
9595

96-
externDatumpg_convert3(PG_FUNCTION_ARGS);
97-
9896
#endif/* PG_CONVERSION_H */

‎src/include/utils/builtins.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: builtins.h,v 1.188 2002/07/29 22:14:11 tgl Exp $
10+
* $Id: builtins.h,v 1.189 2002/08/0614:11:05 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -639,4 +639,7 @@ extern Datum quote_literal(PG_FUNCTION_ARGS);
639639
externDatumshow_config_by_name(PG_FUNCTION_ARGS);
640640
externDatumset_config_by_name(PG_FUNCTION_ARGS);
641641

642+
/* catalog/pg_conversion.c */
643+
externDatumpg_convert3(PG_FUNCTION_ARGS);
644+
642645
#endif/* BUILTINS_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp