]> granicus.if.org Git - postgresql/commit
Un-break ecpg test suite under --disable-integer-datetimes.
authorNoah Misch <noah@leadboat.com>
Thu, 8 May 2014 23:29:02 +0000 (19:29 -0400)
committerNoah Misch <noah@leadboat.com>
Thu, 8 May 2014 23:29:31 +0000 (19:29 -0400)
commit019be0df10afac30b31dd28a22931602ccfba2d9
tree0d79aed87bee9b3c07db67bf623affcbd25192b6
parent686a7194ef1676e4735bbe1c0270dc25c6f33796
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.
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.stdout
src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc