Re: implement CAST(expr AS type FORMAT 'template')

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: Haibo Yan <tristan(dot)yim(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Corey Huinker <corey(dot)huinker(at)gmail(dot)com>, Zsolt Parragi <zsolt(dot)parragi(at)percona(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: 2026-07-02 04:08:13
Message-ID: CAKFQuwa3XNuUrwpnBF9LDLNGuq6J+tjQMAPfvqFLfFWdiCzzwQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday, July 1, 2026, jian he <jian(dot)universality(at)gmail(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-07-02 04:10:18 Re: Prevent crash when calling pgstat functions with unregistered stats kind
Previous Message Bertrand Drouvot 2026-07-02 04:06:01 Re: Prevent crash when calling pgstat functions with unregistered stats kind