BUG #2417: bug for finding string in column

Поиск
Список
Период
Сортировка
От James
Тема BUG #2417: bug for finding string in column
Дата
Msg-id 200605021034.k42AYCeQ055812@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #2417: bug for finding string in column  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: BUG #2417: bug for finding string in column  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      2417
Logged by:          James
Email address:      james@mercstudio.com
PostgreSQL version: 8.1
Operating system:   Microsoft Windows XP Professional
Description:        bug for finding string in column
Details:

hi,

i've encounter bug where when a field is empty / null (type varchar(255) ),
when i use the sql query <> 'myvalue', it seems to be false all the time.


example:
select * from user_profile where acc_lock <> 'Y'

where the acc_lock field for all rows were empty...

2nd, hopefully that postgresql can be flexible to accept empty '' as null
search as well...

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

Предыдущее
От: "Peter Brant"
Дата:
Сообщение: Re: BUG #2371: database crashes with semctl failed
Следующее
От: "James"
Дата:
Сообщение: BUG #2418: number & date & time