Re: tsearch2 problem rank_cd() (possibly) crashing postgres

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: tsearch2 problem rank_cd() (possibly) crashing postgres
Дата
Msg-id 1165594722.24745.4.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: tsearch2 problem rank_cd() (possibly) crashing postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On Fri, 2006-12-08 at 11:12 -0500, Tom Lane wrote:
> "Joshua D. Drake" <jd@commandprompt.com> writes:
> > On Fri, 2006-12-08 at 10:47 -0500, Tom Lane wrote:
> >> Nonetheless, dumping core on bad input is not acceptable behavior ...
>
> > Is it time to require test cases for contrib modules?
>
> tsearch2 *has* a regression test.  ATM it sounds like the problem is
> that the OP tried to use a new library with old pg_proc entries that
> defined different parameter sets for the same-named C functions; a
> situation that no regression test would have exercised anyway.

Hmmmm, is there a way that we could have library version requirements
for all C based functions? So if within PGLIB version 3 was present but
the function was calling version 2... It would politely fail with a
mismatched version warning?

Sincerely,

Joshua D. Drake


--

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: tsearch2 problem rank_cd() (possibly) crashing postgres
Следующее
От: Juan Pablo Yañez
Дата:
Сообщение: unsubscribe