Re: figuring out if there was a transaction in this connection already - Mailing list pgsql-general

From Michael Fuhr
Subject Re: figuring out if there was a transaction in this connection already
Date
Msg-id 20040926025521.GA8191@winnie.fuhr.org
Whole thread Raw
In response to Re: figuring out if there was a transaction in this connection already  (Kundham Saare <oxb1001001001@yahoo.com>)
List pgsql-general
On Sat, Sep 25, 2004 at 08:44:18AM -0700, Kundham Saare wrote:

> Alternatively, is there some way to figure out what
> the pid of the current connection is from the C
> trigger function?

getpid() should work.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Tom Allison
Date:
Subject: Use of 'interval'
Next
From: Sim Zacks
Date:
Subject: Re: data modeler