- Fixed typo in ecpg for Informix dec_t type.
- Fixed precision handling in Informix compat funxtions.
 Sun Oct  5 13:08:47 CEST 2003
 
    - Fixed bug in day of week calculation.
+   
+Mon Oct  6 08:41:45 CEST 2003
+
+   - Fixed constant listing in execute using clause.
+   - Fixed typo in ecpg for Informix dec_t type.
+   - Fixed precision handling in Informix compat funxtions.
    - Set ecpg version to 3.0.0
    - Set ecpg library to 4.0.0
    - Set pgtypes library to 1.0.0
 
    if (right >= 0)
        str = PGTYPESnumeric_to_asc(nres, right);
    else
-       str = PGTYPESnumeric_to_asc(nres, 0);
+       str = PGTYPESnumeric_to_asc(nres, -1);
 
    PGTYPESnumeric_free(nres);
    if (!str)
 
-/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.79 2003/10/04 01:06:38 petere Exp $ */
+/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.80 2003/10/06 06:44:55 meskes Exp $ */
 
 /* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
                {
                    compat = (strcmp(optarg, "INFORMIX") == 0) ? ECPG_COMPAT_INFORMIX : ECPG_COMPAT_INFORMIX_SE;
                    /* system_includes = true; */
-                   add_preprocessor_define("dec_t=numeric");
+                   add_preprocessor_define("dec_t=decimal");
                    add_preprocessor_define("intrvl_t=interval");
                    add_preprocessor_define("dtime_t=timestamp");
                }
 
-/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.261 2003/09/26 15:16:29 meskes Exp $ */
+/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Attic/preproc.y,v 1.262 2003/10/06 06:44:55 meskes Exp $ */
 
 /* Copyright comment */
 %{
                char *length = mm_alloc(32);
 
                sprintf(length, "%d", (int) strlen($1));
-               append_variable(&argsinsert, new_variable($1, ECPGmake_simple_type(ECPGt_const, length), 0), &no_indicator);
+               add_variable(&argsinsert, new_variable($1, ECPGmake_simple_type(ECPGt_const, length), 0), &no_indicator);
            }
        }
        ;