*** pgsql/src/interfaces/ecpg/preproc/variable.c 2009/01/26 10:19:44 1.47 --- pgsql/src/interfaces/ecpg/preproc/variable.c 2009/03/26 22:26:08 1.48 *************** *** 1,4 **** ! /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/variable.c,v 1.46 2009/01/23 12:43:32 petere Exp $ */ #include "postgres_fe.h" --- 1,4 ---- ! /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/variable.c,v 1.47 2009/01/26 10:19:44 petere Exp $ */ #include "postgres_fe.h" *************** adjust_array(enum ECPGttype type_enum, c *** 496,502 **** } if (pointer_len > 2) ! mmerror(PARSE_ERROR, ET_FATAL, "multilevel pointers (more than 2 levels) are not supported; found %d levels", pointer_len); if (pointer_len > 1 && type_enum != ECPGt_char && type_enum != ECPGt_unsigned_char) mmerror(PARSE_ERROR, ET_FATAL, "pointer to pointer is not supported for this data type"); --- 496,504 ---- } if (pointer_len > 2) ! mmerror(PARSE_ERROR, ET_FATAL, ngettext("multilevel pointers (more than 2 levels) are not supported; found %d level", ! "multilevel pointers (more than 2 levels) are not supported; found %d levels", pointer_len), ! pointer_len); if (pointer_len > 1 && type_enum != ECPGt_char && type_enum != ECPGt_unsigned_char) mmerror(PARSE_ERROR, ET_FATAL, "pointer to pointer is not supported for this data type");