Re: BUG #11031: Unexpected interval representations - Mailing list pgsql-bugs

From David G Johnston
Subject Re: BUG #11031: Unexpected interval representations
Date
Msg-id 1406295520006-5812836.post@n5.nabble.com
Whole thread Raw
In response to Re: BUG #11031: Unexpected interval representations  ("marius.bauer" <marius.bauer@here.com>)
List pgsql-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-tp5812713p5812836.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [BUGS] pg_dumpで--schema=myschemaが効かない
Next
From: Sergiy Zuban
Date:
Subject: Re: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore