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