Use ISO dates in pgtypeslib by default.
Michael Meskes <meskes@postgresql.org>
Use ISO dates in pgtypeslib by default. Applied patch by Philip Yarra to fix some thread issues. Added a new data type "decimal" which is mostly the same as our "numeric" but uses a fixed length array to store the digits. This is for compatibility with Informix and maybe others.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/ChangeLog | modified | +8 −0 |
| src/interfaces/ecpg/compatlib/informix.c | modified | +194 −91 |
| src/interfaces/ecpg/ecpglib/connect.c | modified | +19 −9 |
| src/interfaces/ecpg/ecpglib/data.c | modified | +6 −2 |
| src/interfaces/ecpg/ecpglib/execute.c | modified | +18 −3 |
| src/interfaces/ecpg/ecpglib/misc.c | modified | +11 −3 |
| src/interfaces/ecpg/ecpglib/typename.c | modified | +3 −1 |
| src/interfaces/ecpg/include/decimal.h | modified | +1 −1 |
| src/interfaces/ecpg/include/ecpgtype.h | modified | +2 −2 |
| src/interfaces/ecpg/include/pgtypes_numeric.h | modified | +15 −1 |
| src/interfaces/ecpg/include/sqltypes.h | modified | +1 −1 |
| src/interfaces/ecpg/pgtypeslib/numeric.c | modified | +43 −1 |
| src/interfaces/ecpg/pgtypeslib/timestamp.c | modified | +1 −1 |
| src/interfaces/ecpg/preproc/preproc.y | modified | +14 −21 |
| src/interfaces/ecpg/preproc/type.c | modified | +3 −0 |
| src/interfaces/ecpg/test/Makefile | modified | +2 −2 |
| src/interfaces/ecpg/test/num_test.pgc | modified | +3 −3 |
| src/interfaces/ecpg/test/test_informix.pgc | modified | +5 −2 |