pgsql: Un-break ecpg test suite under --disable-integer-datetimes.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Un-break ecpg test suite under --disable-integer-datetimes.
Date: 2014-05-08 23:38:13
Message-ID: E1WiXtF-0002mb-9p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/019be0df10afac30b31dd28a22931602ccfba2d9

Modified Files
--------------
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.c | 5 +++--
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.stdout | 1 -
src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc | 5 +++--
3 files changed, 6 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-09 00:49:53 pgsql: Revert "Auto-tune effective_cache size to be 4x shared buffers"
Previous Message Tom Lane 2014-05-08 16:43:01 pgsql: Fix comment.