Skip to content

Commit 3649855

Browse files
committed
Rename cash_words_out to cash_words.
1 parent 76adc09 commit 3649855

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
Cash value = PG_GETARG_CASH(0);
684684
char buf[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(insert OID = 887 ( cash_out PGUID 11 f t t t 1 f 23 "0" 100 0 0 100 cash_out - ));
11261126
DESCR("(internal)");
1127-
DATA(insert OID = 1273 ( cash_words_out PGUID 12 f t t t 1 f 25 "790" 100 0 0 100 cash_words_out - ));
1127+
DATA(insert OID = 1273 ( cash_words PGUID 12 f t t t 1 f 25 "790" 100 0 0 100 cash_words - ));
11281128
DESCR("output amount as words");
11291129
DATA(insert OID = 888 ( cash_eq PGUID 11 f t t t 2 f 16 "790 790" 100 0 0 100 cash_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
extern Cash *cashlarger(Cash *c1, Cash *c2);
4545
extern Cash *cashsmaller(Cash *c1, Cash *c2);
4646

47-
extern Datum cash_words_out(PG_FUNCTION_ARGS);
47+
extern Datum cash_words(PG_FUNCTION_ARGS);
4848

4949
#endif /* CASH_H */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy