| From: | David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> |
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #11031: Unexpected interval representations |
| Date: | 2014-07-25 13:38:40 |
| Message-ID: | 1406295520006-5812836.post@n5.nabble.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sergiy Zuban | 2014-07-25 15:21:26 | Re: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore |
| Previous Message | Michael Paquier | 2014-07-25 13:29:03 | Re: [BUGS] pg_dumpで--schema=myschemaが効かない |