From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #11031: Unexpected interval representations
Date: Fri, 25 Jul 2014 06:38:40 -0700 (PDT)
Message-ID: <1406295520006-5812836.post@n5.nabble.com> (raw)
In-Reply-To: <1406275263545-5812822.post@n5.nabble.com>
References: <20140724132303.32098.66956@wrigleys.postgresql.org>
<1406213377403-5812727.post@n5.nabble.com>
<1406275263545-5812822.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
marius.bauer wrote
> Thanks David, then please take this as an idea to let PostgreSQL call
> those functions implicitly when an interval is cast to a text, possibly
> enabling switching this behaviour on and off via a configuration setting.
> That'd make our lives a little easier. Thanks again! :)
Not my call but I doubt such a patch would be approved. If you want that
behavior use the supplied functions. Enabling a change in this behavior via
configuration will never fly and if we make it the default there would be no
way to get at the unaligned value.
You need a stronger argument than making lives a little easier. Conformance
with specs, or at least a majority of other systems, would at least have the
inter-operability argument.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11031-Unexpected-interval-representations-tp5812713p5812...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: david.g.johnston@gmail.com
Subject: Re: BUG #11031: Unexpected interval representations
In-Reply-To: <1406295520006-5812836.post@n5.nabble.com>
References: <20140724132303.32098.66956@wrigleys.postgresql.org> <1406213377403-5812727.post@n5.nabble.com> <1406275263545-5812822.post@n5.nabble.com> <1406295520006-5812836.post@n5.nabble.com>
* 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