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

From jian he
Subject Re: implement CAST(expr AS type FORMAT 'template')
Date
Msg-id CACJufxGbsc3g6RZf0rZpKYxffK6vGkc_OsTmX54uS0kFcVBtvA@mail.gmail.com
Whole thread Raw
In response to Re: implement CAST(expr AS type FORMAT 'template')  (Vik Fearing <vik@postgresfriends.org>)
Responses Re: implement CAST(expr AS type FORMAT 'template')
List pgsql-hackers
hi.
one more question:

For binary coercible type casts, no formatted related function for it,
should we error out?
For example, should the following error out or return text '1'.

select cast('1'::text as text format 'YYYY'::text);



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Remove INT64_HEX_FORMAT and UINT64_HEX_FORMAT
Next
From: Chao Li
Date:
Subject: Re: A little cosmetic to convert_VALUES_to_ANY()