Re: "out of balance" result on select from suspected index corruption [RESOLVED]
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: "out of balance" result on select from suspected index corruption [RESOLVED] |
| Дата | |
| Msg-id | 3964.1214855137@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: "out of balance" result on select from suspected index corruption [RESOLVED] ("Henry - Zen Search SA" <henry@zen.co.za>) |
| Ответы |
Re: "out of balance" result on select from suspected
index corruption [RESOLVED]
|
| Список | pgsql-general |
"Henry - Zen Search SA" <henry@zen.co.za> writes:
> The problem was this: a silly SQL error (misuse of OR and missing
> parentheses) resulted in a massive result set which resulted in OOM - if
> the select is run manually (no funny "out of balance" strings).
> If it's run in a function (which uses a FOR loop, which uses implicit
> cursors), then the "out of balance" string is returned for the TEXT column
> almost immediately.
Is it possible the "out of balance" is actually an expected result from
the query --- ie, it's in a table somewhere? In the first case you'd
not see it because of the OOM failure, but with a cursor you'd be able
to process (at least some of) the query output ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера