Re: 'configure --disable-shared' and 'make check'

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: 'configure --disable-shared' and 'make check'
Дата
Msg-id 4512A341.2020404@dunslane.net
обсуждение исходный текст
Ответ на Re: 'configure --disable-shared' and 'make check'  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> It's at least theoretically possible that you could link selected PL
> objects into a static backend build, but no one is particularly
> interested in expending effort on it.  There don't seem to be any
> platforms anymore on which --disable-shared is actually important.
> (Should we just get rid of it?)
>
>     
>   

There is just one case where I think static linking might make some 
sense: pg_dump for use during an upgrade. Unfortunately, at least on 
Linux I found it to be close to impossible, as it uses some things that 
are apparently only available dynamically - I forget the details.

So basically, I would say yes, let's just drop --disable-shared.

cheers

andrew



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: advisory locks and permissions
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: advisory locks and permissions