Re: SIGSEGV taken on 8.1 during dump/reload

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SIGSEGV taken on 8.1 during dump/reload
Дата
Msg-id 27906.1131811784@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SIGSEGV taken on 8.1 during dump/reload  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SIGSEGV taken on 8.1 during dump/reload  (Kevin Brown <kevin@sysexperts.com>)
Список pgsql-hackers
I thought of an alternative approach to the library version problem:
what about taking a leaf from the usual shared library versioning
approach, ie, put the version number into the library file name?
So instead of loading, say, "plpgsql.so" we'd insist on loading
"plpgsql.so.8.2".

This would avoid Peter's objection that the dynamic linker might give
a hard-to-interpret error message, and it'd not require assuming that
the library uses V1 function call convention either.

On the other hand, it'd be relatively easy for clueless lusers to
defeat; I can readily imagine someone copying foo.so.8.2 to foo.so.8.3
when the backend complained that it couldn't find the latter.  So
maybe it's not what we want.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to find a number of connections
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: SIGSEGV taken on 8.1 during dump/reload