Re: [HACKERS] Problem after removal of exec(), help
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: dg@illustra.com (David Gould)
Cc: hackers@postgreSQL.org
Date: 1998-06-23T04:23:35Z
Lists: 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)