Andrew Dunstan wrote:
> OK, here is a new patch version that
>
> * uses find_coercion_path() to find the cast function if any, as
> discussed elsewhere
> * removes calls to getTypeOutputInfo() except where required
> * honors a cast to json only for rendering both json and jsonb
> * adds processing for the date type that was previously missing in
> datum_to_jsonb
Did this go anywhere?
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services