Pgsql error in coalesce

Поиск
Список
Период
Сортировка
От Chamath Sajeewa
Тема Pgsql error in coalesce
Дата
Msg-id CACpofejQ12OBATx9Mi1YB24bj4Y4Ey6gq0fmncPp-b3hAyRtyQ@mail.gmail.com
обсуждение исходный текст
Ответы RE: Pgsql error in coalesce  (Stephen Froehlich <s.froehlich@cablelabs.com>)
RE: Pgsql error in coalesce  (David Raymond <David.Raymond@tomtom.com>)
Re: Pgsql error in coalesce  (Alvaro Herrera <alvherre@2ndquadrant.com>)
RE: [EXTERNAL] Pgsql error in coalesce  ("Vianello, Dan A" <Dan.Vianello@charter.com>)
Список pgsql-novice
Hi,
There is table with int4 column. When select query is executed as "select coalesce(column_name, 255), query is failing with below error.
"COALESCE types text and integer cannot be mached".
Any idea?
Thank You!!

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

Предыдущее
От: Chamath Sajeewa
Дата:
Сообщение: Re: Not null constraint in postgre
Следующее
От: Stephen Froehlich
Дата:
Сообщение: RE: Pgsql error in coalesce