| От | Andrew Schmeder |
|---|---|
| Тема | Re: Inconsistent query results... |
| Дата | |
| Msg-id | 00042913581007.00274@qabobala обсуждение исходный текст |
| Ответ на | Inconsistent query results... (Andrew Schmeder <andy@qabobala.xapnet.com>) |
| Список | pgsql-general |
Okay... so I tried putting a test query "select 1" in front of the given query and that fails also.... > Problem is, after using pg_numrows to determine how many rows were selected, it > returns 0 about 5-10% of the time. Weird, isn't it? When this happens the > PHP script will return an error stating "hostname could not be resolved", as > it should. Basically one of the postgres backends was failing to work properly (or php messed up the persistant connection... ?) ... with 6 http processes ~15% failure makes sense. A restart of the http server fixed it ... for now. I am still sort of wondering on this event though... its not very nice behavior. Maybe I will have to schedule regular http restarts. -Andy
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера