Re: BUG #5028: CASE returns ELSE value always when type is "char"
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #5028: CASE returns ELSE value always when type is "char" |
| Дата | |
| Msg-id | 28785.1251830562@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #5028: CASE returns ELSE value always when type is "char" ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>) |
| Ответы |
Re: BUG #5028: CASE returns ELSE value always when type
is "char"
|
| Список | pgsql-bugs |
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Joseph Shraibman <jks@selectacast.net> writes:
>>> So the type of what is in the ELSE clause determines the type of
>>> the output?
>>
>> If all the other branches are unknown literals, yes.
> What's the best place to look to get a handle on what the benefits are
> of treating character string literals as being of unknown type?
> (Other than the obvious backward compatibility issues.)
I think the odds of changing that are not measurably different from
zero.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера