Re: Inaccurate description of UNION/CASE/etc type selection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Inaccurate description of UNION/CASE/etc type selection
Дата
Msg-id 1073004.1597678264@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Inaccurate description of UNION/CASE/etc type selection  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: Inaccurate description of UNION/CASE/etc type selection  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-docs
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> More concisely:

> Make the first input type a candidate type.  Each subsequent input type is
> compared to the current candidate, with a new candidate being chosen only
> when there exists a non-mutal implicit cast to the new type.  If at any
> point a preferred type is made a candidate then it will be chosen.

So this is just a verbatim statement of the algorithm, which is what
I was hoping to avoid :-(.  But maybe there's no simpler way.

            regards, tom lane



В списке pgsql-docs по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Inaccurate description of UNION/CASE/etc type selection
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Inaccurate description of UNION/CASE/etc type selection