aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/compatlib/informix.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2003-10-06 06:44:55 +0000
committerMichael Meskes <meskes@postgresql.org>2003-10-06 06:44:55 +0000
commitaeb1f6478ec8e2f822b5c08a8e85dfcc99681c64 (patch)
tree7a8dcb585c61b719637bc462ec1ab4939501647e /src/interfaces/ecpg/compatlib/informix.c
parent5e3aaf5402b80f8abc877d8a9bfaa54fdf922a12 (diff)
downloadpostgresql-aeb1f6478ec8e2f822b5c08a8e85dfcc99681c64.tar.gz
postgresql-aeb1f6478ec8e2f822b5c08a8e85dfcc99681c64.zip
- Fixed constant listing in execute using clause.
- Fixed typo in ecpg for Informix dec_t type. - Fixed precision handling in Informix compat funxtions.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
-rw-r--r--src/interfaces/ecpg/compatlib/informix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c
index 63f43a7ec9b..500786cbede 100644
--- a/src/interfaces/ecpg/compatlib/informix.c
+++ b/src/interfaces/ecpg/compatlib/informix.c
@@ -341,7 +341,7 @@ dectoasc(decimal * np, char *cp, int len, int right)
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)