| От | Tom Lane |
|---|---|
| Тема | Re: Query hangs when getting too complex... |
| Дата | |
| Msg-id | 1996.1008788201@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Query hangs when getting too complex... (Paulo Jan <admin@digital.ddnet.es>) |
| Список | pgsql-general |
Paulo Jan <admin@mail.ddnet.es> writes:
> Here it is, but it looks the same to me:
No, it's not the same at all...
> #0 0x80d58d7 in pprint ()
> #1 0x80fc729 in pg_parse_and_rewrite ()
> #2 0x80fc9a1 in pg_exec_query_string ()
> #3 0x80fdab6 in PostgresMain ()
[ eyeballs pprint ] Oh my. Nothing like a fixed-size buffer to blow up
on you :-(. pprint will crash and burn if indentLev exceeds 80/3, and
I'll bet that's exactly what's happening on your complex query. Wonder
why no one noticed this before?
Try turning down your debug level so that the detailed query plan
doesn't get dumped. In the meantime, I'll do something to fix this
for 7.2.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера