From 92a77cb870f135adf0ce36e730e5c67eea37e9f0 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Tue, 9 Jul 2002 13:52:14 +0000
Subject: [PATCH] Oops, proper initialization for domainTypMod was none at all,
 not 0.

---
 src/backend/parser/parse_coerce.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/parser/parse_coerce.c b/src/backend/parser/parse_coerce.c
index 36ff10ce6d5..fda9100d67d 100644
--- a/src/backend/parser/parse_coerce.c
+++ b/src/backend/parser/parse_coerce.c
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.76 2002/07/09 05:21:35 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.77 2002/07/09 13:52:14 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -290,7 +290,7 @@ coerce_type_typmod(ParseState *pstate, Node *node,
 {
 	Oid			baseTypeId;
 	Oid			funcId;
-	int32		domainTypMod = 0;
+	int32		domainTypMod;
 
 	/* If given type is a domain, use base type instead */
 	baseTypeId = getBaseTypeTypeMod(targetTypeId, &domainTypMod);
-- 
GitLab