From: | Corey Huinker <corey(dot)huinker(at)gmail(dot)com> |
---|---|
To: | jian he <jian(dot)universality(at)gmail(dot)com> |
Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Vik Fearing <vik(at)postgresfriends(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: implement CAST(expr AS type FORMAT 'template') |
Date: | 2025-08-04 05:39:53 |
Message-ID: | CADkLM=e42M3B_Z-dsAqetM7E6hTEPitjnTx8Z=Vk9Uq8+4stNw@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2025-08-04 05:44:13 | Re: Fix a typo of mod_since_analyze in do_analyze_rel |
Previous Message | Corey Huinker | 2025-08-04 05:38:18 | Re: implement CAST(expr AS type FORMAT 'template') |