Re: [HACKERS] fork/exec for backend

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: goran(at)bildbasen(dot)se (Goran Thyni)
Cc: tom(at)sdf(dot)com, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] fork/exec for backend
Date: 1998-01-25 15:44:06
Message-ID: 199801251544.KAA17802@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
> > This would also prevent us from attaching to shared memory because it
> > would already be in the address space.
>
> With no exec we could use mmap instead of shm*.
> Have to clock them to see which one is faster first.
> I think the mmap API is cleaner.

Yes, we really only need memory that is not going to be copy-on-write
when you fork. Both types would do this, but since it would already be
in the address space, there is no speed to measure. The postmaster is
the only one to do the actual operation.

--
Bruce Momjian
maillist(at)candle(dot)pha(dot)pa(dot)us

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 1998-01-25 16:05:34 Re: [HACKERS] Re: Copyright question: GPL patches for non-GPL packages (fwd)
Previous Message Bruce Momjian 1998-01-25 15:40:21 Re: [HACKERS] A small type extension example for the contrib directory (fwd)