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

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: php and postgres - too many queries too fast?
Дата
Msg-id 47302470.2050802@archonet.com
обсуждение исходный текст
Ответ на Re: php and postgres - too many queries too fast?  (Tom Hart <tomhart@coopfed.org>)
Список pgsql-general
Tom Hart wrote:
>
> It turns out that for some reason it didn't like to UPDATE when I was
> using a text type field (specifically an empty text field) in the WHERE
> clause. To remedy this, I instructed PHP to not use a field in the WHERE
> clause if the destination type was 'text', and now we're working
> beautifully (2.405 seconds to run the script through 1566 rows, running
> updates on 1563 of them). Now I just need to figure out what's going on
> with those 3 rogue rows.

Its almost certainly not an empty text field, but a NULL one, see Jeff's
  reply to your original message.


--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: rihad
Дата:
Сообщение: any way for ORDER BY x to imply NULLS FIRST in 8.3?
Следующее
От: Reg Me Please
Дата:
Сообщение: How to create primary key