Re: plpython improvements

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: plpython improvements
Дата
Msg-id 1146638850.3888.4.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: plpython improvements  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Ühel kenal päeval, P, 2006-04-30 kell 14:43, kirjutas Tom Lane:
> "Sven Suursoho" <sven@spam.pri.ee> writes:
> > So, what about this in configure:
> > if --with-python && test_iterator_app_crashes
> >    # errcode(FEATURE_NOT_SUPPORTED), errmsg(patch your python)
> >    disable_iterator_feature
> > fi
>
> Testing it in configure is wrong, because there's no guarantee the same
> python library will be used at runtime.

As it is a crash bug, I can see two other ways to test:

1) do the test in startup script (maybe have pg_ctl run something)

2) test it in postmaster by running an external testprogram and see if
it crashes.


How do we handle other buggy library routines, like if some system
library crashes on divide-by-zero or similar ?

----------------
Hannu


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Page at a time index scan
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Page at a time index scan