Re: SEGFAULT on SELECT * FROM view

Поиск
Список
Период
Сортировка
От chris r.
Тема Re: SEGFAULT on SELECT * FROM view
Дата
Msg-id 4F0151BD.8000807@gmx.net
обсуждение исходный текст
Ответ на Re: SEGFAULT on SELECT * FROM view  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SEGFAULT on SELECT * FROM view  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
>> I ported the entire schema to my test DB server and could not reproduce
>> the error there. Note that probably recreating the view solves this
>> issue. Given this, how should I proceed to create a test case? Any
>> tutorial on this? (I'm not too familiar with all this yet.)
> 
> It's possibly statistics-dependent; make sure you have the same stats
> targets on both DBs, and try re-analyzing a few times.  Check other
> planner parameters are the same, too.
In addition to the schema, I now also copied parts of the data in our
production system to the testing DB. (I cannot copy all data, as it's
too large for the testing DB.) After a couple of VACUUM FULL ANALYZEs,
the bug still doesn't reproduce.

In our production environment, I'm working with the re-created view that
doesn't show the SEGFAULT behavior. I can live with this workaround, as
only one particular view seems to be affected, but if you want me to
debug more on the error please let me know.

Thanks for your help until now!
Chris


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: spinlocks on powerpc
Следующее
От: Simon Riggs
Дата:
Сообщение: SQL:2011 features