Re: How to deal with NULL values on dynamic queries?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to deal with NULL values on dynamic queries?
Дата
Msg-id 2396.1273207639@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to deal with NULL values on dynamic queries?  (Andre Lopes <lopes80andre@gmail.com>)
Список pgsql-general
Andre Lopes <lopes80andre@gmail.com> writes:
> I have a query that some values could be NULL, how can I deal with this
> problem?

PG 8.4 and up have a function quote_nullable() that would do what I
think you're looking for.  On an older version, you could define such a
function for yourself.

            regards, tom lane

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

Предыдущее
От: Lew
Дата:
Сообщение: Re: Notification of Limited Account Access
Следующее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: unable to avoid a deadlock at the end of a long transaction