Re: Let's get rid of the separate minor version numbers for shlibs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Let's get rid of the separate minor version numbers for shlibs
Дата
Msg-id b0d33694-01c0-8ee7-1a8f-2599b8d3fab9@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Let's get rid of the separate minor version numbers for shlibs  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Let's get rid of the separate minor version numbers for shlibs  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Let's get rid of the separate minor version numbers for shlibs  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On 8/15/16 5:11 PM, Stephen Frost wrote:
> Eh?  Last I checked, we needed minor version bumps to ensure that
> binaries compiled against later versions, which might use newer symbols,
> don't try to link against older libraries (which wouldn't have those
> symbols).

Let's review:

What we install is

libpq.so.5.8 (actual file)
libpq.so.5 -> libpq.so.5.8
libpq.so -> libpq.so.5.8

The second one is the one used at run-time, looked up by SONAME.

The third one is the one used at build time, because -lpq means look for
libpq.so.

If we instead installed

libpq.so.5 (actual file)
libpq.so -> libpq.so.5

nothing would effectively change.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Index Onlys Scan for expressions
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: PSA: Systemd will kill PostgreSQL