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

Commit3649855

Browse files
committed
Rename cash_words_out to cash_words.
1 parent76adc09 commit3649855

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/utils/adt/cash.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* workings can be found in the book "Software Solutions in C" by
1010
* Dale Schumacher, Academic Press, ISBN: 0-12-632360-7.
1111
*
12-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.42 2000/07/06 05:48:11 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.43 2000/07/07 18:49:52 momjian Exp $
1313
*/
1414

1515
#include<limits.h>
@@ -673,12 +673,12 @@ cashsmaller(Cash *c1, Cash *c2)
673673
}/* cashsmaller() */
674674

675675

676-
/*cash_words_out()
676+
/*cash_words()
677677
* This converts a int4 as well but to a representation using words
678678
* Obviously way North American centric - sorry
679679
*/
680680
Datum
681-
cash_words_out(PG_FUNCTION_ARGS)
681+
cash_words(PG_FUNCTION_ARGS)
682682
{
683683
Cashvalue=PG_GETARG_CASH(0);
684684
charbuf[128];

‎src/include/catalog/pg_proc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_proc.h,v 1.143 2000/07/06 05:48:22 tgl Exp $
10+
* $Id: pg_proc.h,v 1.144 2000/07/07 18:49:54 momjian Exp $
1111
*
1212
* NOTES
1313
* The script catalog/genbki.sh reads this file and generates .bki
@@ -1124,7 +1124,7 @@ DATA(insert OID = 886 ( cash_in PGUID 11 f t t t 1 f 790 "0" 100 0 0 100
11241124
DESCR("(internal)");
11251125
DATA(insertOID=887 (cash_outPGUID11fttt1f23"0"10000100cash_out- ));
11261126
DESCR("(internal)");
1127-
DATA(insertOID=1273 (cash_words_outPGUID12fttt1f25"790"10000100cash_words_out- ));
1127+
DATA(insertOID=1273 (cash_wordsPGUID12fttt1f25"790"10000100cash_words- ));
11281128
DESCR("output amount as words");
11291129
DATA(insertOID=888 (cash_eqPGUID11fttt2f16"790 790"10000100cash_eq- ));
11301130
DESCR("equal");

‎src/include/utils/cash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ extern Datum cash_div_int2(PG_FUNCTION_ARGS);
4444
externCash*cashlarger(Cash*c1,Cash*c2);
4545
externCash*cashsmaller(Cash*c1,Cash*c2);
4646

47-
externDatumcash_words_out(PG_FUNCTION_ARGS);
47+
externDatumcash_words(PG_FUNCTION_ARGS);
4848

4949
#endif/* CASH_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp