Re: [ADMIN] When postgres will be faster?

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: sk.list@comset.net
Cc: Marcin Mazurek - Multinet SA - Poznan <m.mazurek@multinet.pl>, pgsql-admin@postgreSQL.org, pgsql-hackers@postgreSQL.org, Oleg Bartunov <oleg@sai.msu.su>
Date: 1999-12-01T17:43:50Z
Lists: pgsql-hackers
> > postmaster forks() and does not do an exec().
> 
> >From postmaster log:
> 
> FindExec: found "/usr/comset/dbase/bin/postgres" using argv[0]
> 
> ps ax|grep pos
> 
> 10665  ?  R    0:01 /usr/comset/dbase/bin/postgres main.comset.com polithit pol
> 13329  ?  S    0:24 /usr/comset/dbase/bin/postmaster -i -D/usr/comset/dbase/dat
> 
> These samples push me thinking it was fork/exec... :-(

We re-exec the postmaster so it has an absolute path, which is sometimes
needed for dynamic loading.  We also need 5 paramaters to we can do ps
display if forked backends.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026