File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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 */
680680Datum
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 ];
Original file line number Diff line number Diff line change 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
11241124DESCR ("(internal)" );
11251125DATA (insert OID = 887 ( cash_out PGUID 11 f t t t 1 f 23 "0" 100 0 0 100 cash_out - ));
11261126DESCR ("(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 - ));
11281128DESCR ("output amount as words" );
11291129DATA (insert OID = 888 ( cash_eq PGUID 11 f t t t 2 f 16 "790 790" 100 0 0 100 cash_eq - ));
11301130DESCR ("equal" );
Original file line number Diff line number Diff line change @@ -44,6 +44,6 @@ extern Datum cash_div_int2(PG_FUNCTION_ARGS);
4444extern Cash * cashlarger (Cash * c1 , Cash * c2 );
4545extern 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 */
You can’t perform that action at this time.
0 commit comments