From 364985542ba58f2f43b5711941da26518f53c667 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Fri, 7 Jul 2000 18:49:56 +0000
Subject: [PATCH] Rename cash_words_out to cash_words.

---
 src/backend/utils/adt/cash.c  | 6 +++---
 src/include/catalog/pg_proc.h | 4 ++--
 src/include/utils/cash.h      | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/backend/utils/adt/cash.c b/src/backend/utils/adt/cash.c
index bfca7ff5135..b85f37942c1 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 d65bee7c545..575fa5ee660 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 58f906aacc1..cc612961d29 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 */
-- 
GitLab