Re: Shared library support for postmaster

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Erik Hofman <erik(at)ehofman(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Shared library support for postmaster
Date: 2001-01-30 14:05:54
Message-ID: 26918.980863554@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Erik Hofman <erik(at)ehofman(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-01-30 17:39:32 Re: A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....
Previous Message Peter T Mount 2001-01-30 13:43:04 Re: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems