Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] removing the exec() from doexec()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] removing the exec() from doexec()
Date: 1998-04-30 14:59:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> This exec() takes 15% of our startup time.  I have wanted it removed for
> many releases now.

Don't forget that you will have to use a real fork() rather than
vfork().  Some of the apparent savings will not materialize.

I agree, though, that using exec() to reinvoke the same binary is
pretty silly, especially when you don't want exec's normal side-effects
of detaching shared mem etc.  And being able to rip out the dependency
on whether vfork() exists would be nice.

			regards, tom lane

pgsql-hackers by date

Next:From: Tom LaneDate: 1998-04-30 15:16:45
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Previous:From: The Hermit HackerDate: 1998-04-30 14:54:41
Subject: Re: [INTERFACES] Access'97 and ODBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group