Re: Timestamp, fractional seconds problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Timestamp, fractional seconds problem
Date: 2001-10-04 20:48:37
Message-ID: 743.1002228517@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

Thomas Lockhart <lockhart(at)fourpalms(dot)org> writes:
> ... then trailing zeros are hacked out,
> two digits at a time.

I was wondering why it seemed to always want to produce an even number
of fractional digits. Why are you doing it 2 at a time and not 1?
I should think timestamp(1) would produce 1 fractional digit, not
two digits of which the second is always 0 ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-10-04 21:02:02 Re: Timestamp, fractional seconds problem
Previous Message Thomas Lockhart 2001-10-04 20:30:24 Re: Unhappiness with forced precision conversion for timestamp

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Lockhart 2001-10-04 21:02:02 Re: Timestamp, fractional seconds problem
Previous Message Thomas Lockhart 2001-10-04 20:13:17 Re: [HACKERS] Timestamp, fractional seconds problem