Re: [HACKERS] Problem after removal of exec(), help

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: dg(at)illustra(dot)com (David Gould)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Problem after removal of exec(), help
Date: 1998-06-23 04:23:35
Message-ID: 199806230423.AAA03491@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Schanen 1998-06-23 10:55:17 Re: btree: BTP_CHAIN flag was expected (revisited)
Previous Message Bruce Momjian 1998-06-23 04:16:52 Re: [HACKERS] Divide by zero error on SPARC/Linux.