From 26e47efb66b7b41f1c4464105abd3da58a7bf04f Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Wed, 4 Aug 2010 17:35:59 +0000
Subject: [PATCH] Fix declared argument name for numeric_maximum_size.

The previous commit changed the function to say 'typmod' rather than
'typemod', but I forgot to update the header file.
---
 src/include/utils/numeric.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/utils/numeric.h b/src/include/utils/numeric.h
index 7bbe34bdeac..aa661a6679c 100644
--- a/src/include/utils/numeric.h
+++ b/src/include/utils/numeric.h
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1998-2010, PostgreSQL Global Development Group
  *
- * $PostgreSQL: pgsql/src/include/utils/numeric.h,v 1.30 2010/07/30 04:30:23 rhaas Exp $
+ * $PostgreSQL: pgsql/src/include/utils/numeric.h,v 1.31 2010/08/04 17:35:59 rhaas Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -56,7 +56,7 @@ typedef struct NumericData *Numeric;
  * Utility functions in numeric.c
  */
 extern bool numeric_is_nan(Numeric num);
-int32 numeric_maximum_size(int32 typemod);
+int32 numeric_maximum_size(int32 typmod);
 extern char *numeric_out_sci(Numeric num, int scale);
 
 #endif   /* _PG_NUMERIC_H_ */
-- 
GitLab