From b4c8dcb294d8138bb66891d62e4f43196da01d52 Mon Sep 17 00:00:00 2001
From: Michael Meskes <meskes@postgresql.org>
Date: Mon, 23 Feb 2004 18:14:18 +0000
Subject: [PATCH] Fixed incorrect output of indicator structs using the name of
 the data struct.

---
 src/interfaces/ecpg/preproc/type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/interfaces/ecpg/preproc/type.c b/src/interfaces/ecpg/preproc/type.c
index cb0eb275667..e7682298b89 100644
--- a/src/interfaces/ecpg/preproc/type.c
+++ b/src/interfaces/ecpg/preproc/type.c
@@ -263,7 +263,7 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type,
 						else
 						{
 							ECPGdump_a_simple(o, ind_name, ind_type->u.element->type,
-											  ind_type->u.element->size, ind_type->size, NULL, prefix);
+											  ind_type->u.element->size, ind_type->size, NULL, ind_prefix);
 						}
 					}
 			}
-- 
GitLab