From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin A. Brooks <martin@antibodymx.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6028: age() function output contracts "months", but not any other units.
Date: Mon, 23 May 2011 14:50:59 -0400
Message-ID: <18111.1306176659@sss.pgh.pa.us> (raw)
In-Reply-To: <4336256f535c68511d989d97e43c2b22.squirrel@olga.hinterlands.org>
References: <201105171435.p4HEZxNa071526@wwwmaster.postgresql.org>
<201105181940.p4IJeiu23136@momjian.us>
<BANLkTikiz-VVGb_4EM=vjEBRA2pswL=Uhw@mail.gmail.com>
<15605.1306173724@sss.pgh.pa.us>
<4336256f535c68511d989d97e43c2b22.squirrel@olga.hinterlands.org>
"Martin A. Brooks" <martin@antibodymx.net> writes:
> On Mon, May 23, 2011 19:02, Tom Lane wrote:
>> ISTM that changing interval's output formatting would create far too
>> many problems to be justifiable for such a purely cosmetic issue.
> I almost entirely agree with you except....
> My current $dayjob is working in an industry where details and aesthetics
> are everything. We will spend thousands of hours of processor time just
> to make sure than the sheen on an animal's fur will suggest "healthy and
> luxuriant" rather than "warm and moist". It's about artistic polish.
> If people are agreeing that this is not the intended, desrired or
> specified output for this function, then make with the polish. It isn't
> the first, and won't be the last, time that something has potentially
> broken compatibility in postgres.
I think possibly you misunderstand the scope of the breakage you're
proposing. This is not about the age() function. It's interval_out()
that's at stake, and so changing this would change the output formatting
for *every* operation that yields intervals. That makes it pretty
high-risk.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, martin@antibodymx.net, robertmhaas@gmail.com, bruce@momjian.us
Subject: Re: BUG #6028: age() function output contracts "months", but not any other units.
In-Reply-To: <18111.1306176659@sss.pgh.pa.us>
References: <201105171435.p4HEZxNa071526@wwwmaster.postgresql.org> <201105181940.p4IJeiu23136@momjian.us> <BANLkTikiz-VVGb_4EM=vjEBRA2pswL=Uhw@mail.gmail.com> <15605.1306173724@sss.pgh.pa.us> <4336256f535c68511d989d97e43c2b22.squirrel@olga.hinterlands.org> <18111.1306176659@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox