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

From David G. Johnston
Subject Re: implement CAST(expr AS type FORMAT 'template')
Date
Msg-id CAKFQuwa3XNuUrwpnBF9LDLNGuq6J+tjQMAPfvqFLfFWdiCzzwQ@mail.gmail.com
Whole thread
In response to Re: implement CAST(expr AS type FORMAT 'template')  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
On Wednesday, July 1, 2026, jian he <jian.universality@gmail.com> wrote:
I guess not supporting arrays in the initial patch should be fine,
since not all CASTs support CAST FORMAT.

Personally I’d require solving the entire problem before putting any of it in.  This doesn’t seem like a feature that needs two years to implement.  And it isn’t like we don’t have usable tools while we wait.  This is for standards conformance more than anything.

David J.

pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: Prevent crash when calling pgstat functions with unregistered stats kind
Next
From: Michael Paquier
Date:
Subject: Re: Prevent crash when calling pgstat functions with unregistered stats kind