Re: php and postgres - too many queries too fast?

Поиск
Список
Период
Сортировка
Искать
От
Jeff Davis
Тема
Re: php and postgres - too many queries too fast?
Дата
Msg-id
1194303195.22428.126.camel@dogma.ljc.laika.com
Ответ на
Список
Дерево обсуждения
php and postgres - too many queries too fast? Tom Hart <tomhart@coopfed.org>
Re: php and postgres - too many queries too fast? Jeff Davis <pgsql@j-davis.com>
Re: php and postgres - too many queries too fast? andy <andy@squeakycode.net>
Re: php and postgres - too many queries too fast? Tom Hart <tomhart@coopfed.org>
Re: php and postgres - too many queries too fast? Richard Huxton <dev@archonet.com>
Re: php and postgres - too many queries too fast? "Scott Marlowe" <scott.marlowe@gmail.com>
On Mon, 2007-11-05 at 17:18 -0500, Tom Hart wrote:
> UPDATE table SET is_ok = 'TRUE' WHERE var1 = value1 AND var2 = value2 
> AND var3 = value3.....

As others have said, you need to narrow the problem down a bit more
before we can provide useful help.

However, a wild guess might be that some of your fields contain NULLs.
In SQL, NULL=NULL is _not_ true (more specifically, it is NULL).

To see what I mean, do "SELECT 1 WHERE NULL=NULL", it will return 0
rows.

Regards,
	Jeff Davis

В списке pgsql-general по дате отправления
От: andy
Дата:
От: Tom Hart
Дата:
FAQ