Re: [HACKERS] Problem after removal of exec(), help - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Problem after removal of exec(), help
Date
Msg-id 199806230423.AAA03491@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Problem after removal of exec(), help  (dg@illustra.com (David Gould))
Responses Re: [HACKERS] Problem after removal of exec(), help  (dg@illustra.com (David Gould))
List pgsql-hackers
> No help here, but a request:
>
> Could we have an option to do the fork()/exec() the old way as well as the
> new sleek fork() only. I want to do some performance testing under gprof and
> want to be able to replace my postgres binary with a shell script to save
> the gmon.out file eg:
>
> #!/bin/sh
> postgres.bin $*
> mv gmon.out gmon.$$
>
> This won't work unless and exec() is done.

I am confused.  What doesn't work without the exec()?

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] Problem after removal of exec(), help
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Divide by zero error on SPARC/Linux.