Re: Shared library support for postmaster

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Shared library support for postmaster
Дата
Msg-id 26918.980863554@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Shared library support for postmaster  (Erik Hofman <erik@ehofman.com>)
Список pgsql-patches
Erik Hofman <erik@ehofman.com> writes:
> After a little test i manneged to create a shared library for
> postmaster.
> Originally the postmaster program was 3922308 bytes large, but after a
> small modification in src/backend/Makefile it have a postgres binary of
> 26812 bytes and one shared library of 3981064 bytes.

> This should save 115 megabytes of memory when 32 postmaster processed
> have started!!

You wasted your time, I'm afraid.  On any reasonable Unix system, all
the backends share the same copy of the text segment anyway.

            regards, tom lane

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

Предыдущее
От: Erik Hofman
Дата:
Сообщение: Shared library support for postmaster
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....