pgsql: Display only 9 not 10 digits of precision for timestamp values

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Display only 9 not 10 digits of precision for timestamp values
Date: 2005-05-26 03:48:25
Message-ID: 20050526034825.E325D5280C@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Display only 9 not 10 digits of precision for timestamp values when
using non-integer timestamps. This prevents the display of rounding
errors for common values like days < 32.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
datetime.c (r1.145 -> r1.146)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c.diff?r1=1.145&r2=1.146)
pgsql/src/interfaces/ecpg/pgtypeslib:
interval.c (r1.16 -> r1.17)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/interval.c.diff?r1=1.16&r2=1.17)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-05-26 04:00:24 Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support
Previous Message Neil Conway 2005-05-26 03:46:37 Re: pgsql: Minor cleanup for recent SQLSTATE / SQLERRM