Un-break ecpg test suite under --disable-integer-datetimes.
Noah Misch <noah@leadboat.com>
Un-break ecpg test suite under --disable-integer-datetimes. Commit 4318daecc959886d001a6e79c6ea853e8b1dfb4b broke it. The change in sub-second precision at extreme dates is normal. The inconsistent truncation vs. rounding is essentially a bug, albeit a longstanding one. Back-patch to 8.4, like the causative commit.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c | modified | +3 −2 |
| src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.stdout | modified | +0 −1 |
| src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc | modified | +3 −2 |