OSDN Git Service

Fixed NaN/Infinity problems in ECPG for float/double/numeric/decimal by making it...
authorMichael Meskes <meskes@postgresql.org>
Tue, 2 Feb 2010 16:09:12 +0000 (16:09 +0000)
committerMichael Meskes <meskes@postgresql.org>
Tue, 2 Feb 2010 16:09:12 +0000 (16:09 +0000)
commitcedae130173c8a023cbc2bad39e2301b24aeb027
treed116d1d0282cb041f5293ae836313221e8be1bc4
parent63f9282f6e7a4afed8826437cea6e92d9e4b0869
Fixed NaN/Infinity problems in ECPG for float/double/numeric/decimal by making it OS independant.

Patch done by Zoltán Böszörményi.
14 files changed:
src/interfaces/ecpg/ecpglib/data.c
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/misc.c
src/interfaces/ecpg/include/pgtypes_numeric.h
src/interfaces/ecpg/pgtypeslib/numeric.c
src/interfaces/ecpg/test/ecpg_schedule
src/interfaces/ecpg/test/ecpg_schedule_tcp
src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c [new file with mode: 0644]
src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.stderr [new file with mode: 0644]
src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.stdout [new file with mode: 0644]
src/interfaces/ecpg/test/expected/preproc-outofscope.c
src/interfaces/ecpg/test/expected/sql-sqlda.c
src/interfaces/ecpg/test/pgtypeslib/Makefile
src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc [new file with mode: 0644]