Joachim fixed some bugs in numeric handling in pgtypeslib.

Michael Meskes <meskes@postgresql.org>

Commit: 977ac90001c0188289f3b20eac3720fc6b26f180
Author: Michael Meskes <meskes@postgresql.org>
Date: 2006-08-07T13:17:02Z
Releases: 8.2.0
Joachim fixed some bugs in numeric handling in pgtypeslib.
Fixed and cleaned up some regression tests. Also added a new one.

Files

PathChange+/−
src/interfaces/ecpg/ChangeLog modified +4 −0
src/interfaces/ecpg/pgtypeslib/numeric.c modified +37 −22
src/interfaces/ecpg/test/compat_informix/test_informix.pgc modified +2 −1
src/interfaces/ecpg/test/expected/compat_informix-test_informix.c modified +30 −24
src/interfaces/ecpg/test/expected/compat_informix-test_informix.stderr modified +28 −30
src/interfaces/ecpg/test/expected/compat_informix-test_informix.stdout modified +1 −2
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c modified +11 −16
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stderr modified +4 −6
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout modified +1 −2
src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.c added +138 −0
src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.stderr added +2 −0
src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.stdout added +163 −0
src/interfaces/ecpg/test/expected/pgtypeslib-num_test.c modified +24 −16
src/interfaces/ecpg/test/expected/pgtypeslib-num_test.stderr modified +9 −9
src/interfaces/ecpg/test/expected/pgtypeslib-num_test.stdout modified +2 −1
src/interfaces/ecpg/test/expected/sql-dyntest2.c modified +56 −91
src/interfaces/ecpg/test/expected/sql-dyntest2.stderr modified +129 −69
src/interfaces/ecpg/test/expected/sql-dyntest2.stdout modified +39 −33
src/interfaces/ecpg/test/pgtypeslib/dt_test.pgc modified +7 −10
src/interfaces/ecpg/test/pgtypeslib/Makefile modified +2 −1
src/interfaces/ecpg/test/pgtypeslib/num_test2.pgc added +120 −0
src/interfaces/ecpg/test/pgtypeslib/num_test.pgc modified +9 −1
src/interfaces/ecpg/test/sql/dyntest2.pgc modified +7 −27