]> 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)
commit54055609e2d0b35edf236cad6a210592e145e57e
treefebff782f74c11093d41b6a197b34ccf04cdff6c
parent31633f992568ffca9a7927a9f474ad8516840b2c
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