agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] help on trigges
Date: Mon, 15 Oct 2012 10:33:57 -0700
Message-ID: <507C4905.2060805@hogranch.com> (raw)
In-Reply-To: <1350291995039-5728150.post@n5.nabble.com>
References: <1350291995039-5728150.post@n5.nabble.com>

On 10/15/12 2:06 AM, kostika gorica wrote:
> I have an application already running, accessing the database (postgresql
> 8.1). I need a solution, that prints (on a file, or somehow) the queries
> being executed every time the app accesses the database.
> Is there any ON DATABASE ACCESS trigger ?!
> Any idea how that can be done?

turn on query logging in postgres, done.



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast





view thread (2+ messages)

Message-ID: <507C4905.2060805@hogranch.com>
Permalink:  ../507C4905.2060805@hogranch.com/
Also on:    postgresql.org/message-id/507C4905.2060805@hogranch.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] help on trigges
  In-Reply-To: <507C4905.2060805@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox