*** postgresql-7.0RC5/src/interfaces/ecpg/preproc/type.c.orig	Wed May 10 14:45:55 2000
--- postgresql-7.0RC5/src/interfaces/ecpg/preproc/type.c	Wed May 10 14:46:43 2000
***************
*** 198,203 ****
--- 198,209 ----
  void
  ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * typ, const char *ind_name, struct ECPGtype * ind_typ, const char *prefix, const char *ind_prefix)
  {
+ 	if (ind_typ == NULL)
+ 	{
+ 		ind_typ = &ecpg_no_indicator;
+ 		ind_name = "no_indicator";
+ 	}
+ 
  	switch (typ->typ)
  	{
  			case ECPGt_array:
