Re: figuring out if there was a transaction in this connection already

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Kundham Saare <oxb1001001001(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: figuring out if there was a transaction in this connection already
Date: 2004-09-26 02:55:21
Message-ID: 20040926025521.GA8191@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2004-09-26 06:41:47 Re: data modeler
Previous Message Edward Macnaghten 2004-09-26 02:52:49 Re: PSQLFS - PostgreSQL File System