detecting a NULL box

Поиск
Список
Период
Сортировка
От dschmidt@lexmark.com
Тема detecting a NULL box
Дата
Msg-id OF77E55C87.716A3ED1-ON85256DA6.0049F9D8@lexmark.com
обсуждение исходный текст
Ответы Re: detecting a NULL box  (Guy Fraser <guy@incentre.net>)
Список pgsql-general
Does anybody know how to detect a NULL in a geometric box type?

When I execute the following sql statement (coords is a box type)
autotest=# select coords from dlg_control limit 1
autotest-# \g
 coords
--------

(1 row)

So, I have data that contains a "NULL" in the coords column, but when I
test on box(NULL) I don't get any data...
autotest=# select coords from dlg_control where coords=box(NULL) limit 1
autotest-# \g
 coords
--------
(0 rows)

Any ideas?
Thanks,
Dennis





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

Предыдущее
От: daisy_nhy@yahoo.com.hk (DN)
Дата:
Сообщение: Question about connection java and Postgresql in Linux
Следующее
От: Tom Lane
Дата:
Сообщение: Re: State of Beta 2