interval's and printing... - Mailing list pgsql-hackers

From Larry Rosenman
Subject interval's and printing...
Date
Msg-id 15210000.1056229630@lerlaptop.lerctr.org
Whole thread Raw
Responses Re: interval's and printing...  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: interval's and printing...  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Why does the interval type not print seconds when they are zero?

This leads to inconsistent reading of the information.

7.3.3:

ler=# select '13 minutes'::interval;interval
----------00:13
(1 row)

ler=# select '13 minutes 1 second'::interval;interval
----------00:13:01
(1 row)

ler=#

I noticed this when I loaded the data from my long distance company into
a PG database.


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749





pgsql-hackers by date:

Previous
From: Thomas Swan
Date:
Subject: Re: Two weeks to feature freeze
Next
From: Kevin Brown
Date:
Subject: Re: Two weeks to feature freeze