On Wed, 2 Jun 1999, Dmitry Samersoff wrote:
> Date: Wed, 02 Jun 1999 18:56:55 +0400 (MSD)
> From: Dmitry Samersoff <dms@wplus.net>
> To: pgsql-hackers@postgreSQL.org
> Subject: [HACKERS] PID of backend
>
> Hi World!
>
> Does backend сreates pid file?
>
> Postgres 6.5 backend (current CVS) stop answering query
>
> >>> Jun 2 00:12:32 mail popper[17585]: PgSQL:ROLLBACK failed: PQsendQuery()
> >>> There is no connection to the backend.
>
> every 300 000 cursor allocation so I wish to restart it every 100 000
> is there a way to do it simple than
> kill `ps ax | awk .....`
Have you tried pidof postmaster ?
kill `pidof postmaster` | ....
Oleg
>
> Thank you!
>
> PS:
> 6.4 works without problems with the same code, but I need more flexible
> locking on our new mail server.
>
>
> ---
> Dmitry Samersoff, dms@wplus.net, ICQ:3161705
> http://devnull.wplus.net
> * There will come soft rains ...
>
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83