Re: Re: Interval bug

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: lockhart(at)fourpalms(dot)org, Mitchell Brandsma <mitchell(at)pienetworks(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Re: Interval bug
Date: 2001-01-12 02:57:32
Message-ID: 3A5E729C.AB229740@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> ... Should we print the "days" +/-
> sign only when it is not the same as the "year" sign? Seems like the
> way to go.

It isn't quite that easy, but you have the right idea. My new code omits
signs unless there is a negative field value, then all subsequent fields
are signed.

That seems to be less ambiguous. fwiw, the traditional "Postgres format"
never was right in this regard (though internal calculations were done
correctly).

- Thomas

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2001-01-12 05:16:33 Re: JDBC PreparedStatement.setMaxRows() affects other objects intantiated from this class and it's parent class
Previous Message pgsql-bugs 2001-01-12 00:33:42 Query Problem!!