Re: Database audit / Associating a statement with connection

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ben Kim <bkim(at)coe(dot)tamu(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Database audit / Associating a statement with connection
Date: 2005-02-25 19:11:01
Message-ID: 7262.1109358661@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ben Kim <bkim(at)coe(dot)tamu(dot)edu> writes:
> Is there a way to associate them so I know which statement came from which
> connection?

Log the PID originating each message.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Theodore Kalodikis 2005-02-25 20:11:55 unsubscribe
Previous Message Ben Kim 2005-02-25 18:24:08 Database audit / Associating a statement with connection