On 04.07.26 03:09, jian he wrote:
>> I don't really understand the purpose of this feature to begin with.
>> You can already call the formatting functions directly. Does this cast
>> syntax offer anything on top of that?
>>
>
> https://www.postgresql.org/message-id/762ae707-7fdc-43d8-a77a-3a10d12ce21d%40postgresfriends.org
>
> After this implemented, we can begin fully supporting:
>
> <cast specification> ::=
> CAST <left paren>
> <cast operand> AS <cast target>
> [ FORMAT <cast template> ]
> [ <cast error behavior> ON CONVERSION ERROR ]
> <right paren>
The ON CONVERSION ERROR feature is independent of the FORMAT feature,
isn't it?