case / coalesce problem with strings

Поиск
Список
Период
Сортировка
От Dino Dini
Тема case / coalesce problem with strings
Дата
Msg-id 000b01c0582f$59b33d80$c5d32304@pod1.com
обсуждение исходный текст
Список pgsql-bugs
select 'hello ' || coalesce('there','there');
ERROR:  Function 'text(unknown)' does not exist
        Unable to identify a function that satisfies the given argument
types
        You may need to add explicit typecasts

It seems clear that the coalesce construction must return a string - so why
does this fail?

The followinfg works just fine:


-Dino

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

Предыдущее
От: Dmitry Gercog
Дата:
Сообщение: call plpgsql function bug! (set arguments to NULL)
Следующее
От: "Dino Dini"
Дата:
Сообщение: Re: case / coalesce problem with strings WORKAROUND