diff --git a/src/backend/utils/adt/cash.c b/src/backend/utils/adt/cash.c index bfca7ff513594113ce7916b85475419841e03d67..b85f37942c1dd5b79d40582a9e610cc21916f84d 100644 --- a/src/backend/utils/adt/cash.c +++ b/src/backend/utils/adt/cash.c @@ -9,7 +9,7 @@ * workings can be found in the book "Software Solutions in C" by * Dale Schumacher, Academic Press, ISBN: 0-12-632360-7. * - * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.42 2000/07/06 05:48:11 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.43 2000/07/07 18:49:52 momjian Exp $ */ #include <limits.h> @@ -673,12 +673,12 @@ cashsmaller(Cash *c1, Cash *c2) } /* cashsmaller() */ -/* cash_words_out() +/* cash_words() * This converts a int4 as well but to a representation using words * Obviously way North American centric - sorry */ Datum -cash_words_out(PG_FUNCTION_ARGS) +cash_words(PG_FUNCTION_ARGS) { Cash value = PG_GETARG_CASH(0); char buf[128]; diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index d65bee7c545356c1ca4cc0a0480d57f52479f2f3..575fa5ee660f3111d57e22bb2487a38b09bc7251 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pg_proc.h,v 1.143 2000/07/06 05:48:22 tgl Exp $ + * $Id: pg_proc.h,v 1.144 2000/07/07 18:49:54 momjian Exp $ * * NOTES * 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 DESCR("(internal)"); DATA(insert OID = 887 ( cash_out PGUID 11 f t t t 1 f 23 "0" 100 0 0 100 cash_out - )); DESCR("(internal)"); -DATA(insert OID = 1273 ( cash_words_out PGUID 12 f t t t 1 f 25 "790" 100 0 0 100 cash_words_out - )); +DATA(insert OID = 1273 ( cash_words PGUID 12 f t t t 1 f 25 "790" 100 0 0 100 cash_words - )); DESCR("output amount as words"); DATA(insert OID = 888 ( cash_eq PGUID 11 f t t t 2 f 16 "790 790" 100 0 0 100 cash_eq - )); DESCR("equal"); diff --git a/src/include/utils/cash.h b/src/include/utils/cash.h index 58f906aacc1e50adc492f8cfb59f36fce1345302..cc612961d2954f132123aab06fc315c15bb72c0d 100644 --- a/src/include/utils/cash.h +++ b/src/include/utils/cash.h @@ -44,6 +44,6 @@ extern Datum cash_div_int2(PG_FUNCTION_ARGS); extern Cash *cashlarger(Cash *c1, Cash *c2); extern Cash *cashsmaller(Cash *c1, Cash *c2); -extern Datum cash_words_out(PG_FUNCTION_ARGS); +extern Datum cash_words(PG_FUNCTION_ARGS); #endif /* CASH_H */