Re: getting pid of backend

From: Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: getting pid of backend
Date: 2002-03-05 22:49:55
Message-ID: Pine.LNX.4.21.0203052348130.13904-100000@pc10.radnoti-szeged.sulinet.hu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, 5 Mar 2002, Josh Berkus wrote:

> Kovacs,
>
> > Is there an easier method?
>
> Much easier. Take a look at $PGDATA/postmaster.pid

I mean the current pid number of the actual connection. Not the postmaster
process, I need the pid of the currently running postgres. :-)

Regards,
Kov\'acs, Zolt\'an
kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu
http://www.math.u-szeged.hu/~kovzol
ftp://pc10.radnoti-szeged.sulinet.hu/home/kovacsz

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2002-03-05 23:34:56 Re: getting pid of backend
Previous Message Hubert Palme 2002-03-05 20:33:44 Re: PL/pgSQL Syntax Problem