Re: Examining the output of: ldd `which postgres`

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Sean Chittenden <sean(at)chittenden(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Examining the output of: ldd `which postgres`
Date: 2003-09-12 02:13:32
Message-ID: 200309120213.h8C2DW209901@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sean Chittenden wrote:
> > Backend only forks(). I think you would be better off using
> > Makefile macros to _remove_ those two libraries.
> >
> > I see this:
> >
> > $(filter crypt.o getaddrinfo.o inet_aton.o snprintf.o strerror.o path.o thread.o, $(LIBOBJS))
> >
> > Seems you need the reverse.
>
> Ah, well, if it fork()'s, then I don't really care. The best
> remaining argument for this would be to reduce the total size of a
> machine's VM page table size and possibly the expense of switching
> contexts between procs, but that's a pretty weak argument for only .5M
> of shared RAM. For some reason I thought it exec()'ed a child with
> the args necessary for it to read in a postgresql.conf. Looks like
> the comment in backend/storage/ipc/ipci.c is out of date then:
>
> * AttachSharedMemoryAndSemaphores
> * Attaches to the existing shared resources when exec()'d off
> * by the postmaster.

I have updated this comment.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-12 02:20:36 Re: massive quotes?
Previous Message Bruce Momjian 2003-09-12 02:11:07 Re: [HACKERS] Win32 native port