Re: implement CAST(expr AS type FORMAT 'template') - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: implement CAST(expr AS type FORMAT 'template')
Date
Msg-id CADkLM=e42M3B_Z-dsAqetM7E6hTEPitjnTx8Z=Vk9Uq8+4stNw@mail.gmail.com
Whole thread Raw
In response to Re: implement CAST(expr AS type FORMAT 'template')  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
 
another question is:
should we first implement CAST(expr AS type FORMAT 'template') for limited types
(to_date, to_char, to_number, to_timestamptz)
or first try to make it more generic?


That was my plan, essentially rewriting these into safe versions of the existing to_date/to_timestamp/etc functions, but much has changed since then, so while it still seems like a good intermediate step, it may be a distraction as others have stated elsewhere in the thread.


pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: implement CAST(expr AS type FORMAT 'template')
Next
From: David Rowley
Date:
Subject: Re: Fix a typo of mod_since_analyze in do_analyze_rel