| От | Stephan Szabo |
|---|---|
| Тема | Re: problem with new postgresql driver |
| Дата | |
| Msg-id | 20020314072913.X433-100000@megazone23.bigpanda.com обсуждение исходный текст |
| Ответ на | problem with new postgresql driver ("awais" <awais@techlogix.com>) |
| Список | pgsql-bugs |
On Thu, 14 Mar 2002, awais wrote: > Hi, > > We have a table named "atm" in our database which is uing latest > driver of postgresql, it has a column named "location", all records > (which are more than 1) of "atm" table have this column value set as > (null). When we executed the query "select * from atm where > location=null ", 0 rows were returned, which was not we were > expecting. This is the correct behavior. The test you want is really where location IS NULL. The older versions had a hack to allow =NULL be transformed into IS NULL due to some broken clients which is now turned off by default. You can use set transform_null_equals=true to get back the old behavior.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера