Re: Getting to 8.3 beta1

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Getting to 8.3 beta1
Дата
Msg-id 46FBDCAF.8080105@enterprisedb.com
обсуждение исходный текст
Ответ на Getting to 8.3 beta1  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Getting to 8.3 beta1  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Getting to 8.3 beta1  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Getting to 8.3 beta1  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Tom Lane wrote:
> * Do we bump the .so major version number for libpq?  I think we should
> because there are two new exported functions since 8.2, and on at least
> some platforms there's nothing else than major number to disambiguate
> whether a client needs these or not.  Comments?

I'm not very familiar with library versioning, but the modern solution
is to use symbol versioning. In that scheme, a backwards-compatible
change, like adding new functions, requires a bump of the minor version
number only. I believe all major modern platforms supports symbol
versioning.

At runtime, the dynamic linker checks that the major version matches the
one the appliction is compiled with, and that the version number on each
symbol is the same or newer than the one the application was compiled with.

I don't know what's required from the build system to support that, but
I can find out if no-one else volunteers.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Getting to 8.3 beta1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Getting to 8.3 beta1