Re: BUG #11031: Unexpected interval representations

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: BUG #11031: Unexpected interval representations
Дата
Msg-id 1406295520006-5812836.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: BUG #11031: Unexpected interval representations  ("marius.bauer" <marius.bauer@here.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [BUGS] pg_dumpで--schema=myschemaが効かない
Следующее
От: Sergiy Zuban
Дата:
Сообщение: Re: BUG #11032: Prepared transactions do not update pg_last_xact_replay_timestamp() anymore