Обсуждение: https://www.postgresql.org/docs/11/typeconv-union-case.html

Поиск
Список
Период
Сортировка

https://www.postgresql.org/docs/11/typeconv-union-case.html

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/typeconv-union-case.html
Description:

I think it should be CAST instead of CASE.

Re: https://www.postgresql.org/docs/11/typeconv-union-case.html

От
"David G. Johnston"
Дата:
On Tuesday, May 12, 2020, PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/typeconv-union-case.html
Description:

I think it should be CAST instead of CASE.

Why?  There no “process” needed to perform type conversion using cast.

David J.