agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] help on trigges
2+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] help on trigges
@ 2012-10-15 09:06 
  2012-10-15 17:33 ` [Pljava-dev] help on trigges 
  0 siblings, 1 reply; 2+ messages in thread

From:  @ 2012-10-15 09:06 UTC (permalink / raw)

Hello,
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? 

Thanks in advance.




--
View this message in context: http://postgresql.1045698.n5.nabble.com/help-on-trigges-tp5728150.html
Sent from the PL/Java mailing list archive at Nabble.com.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* [Pljava-dev] help on trigges
  2012-10-15 09:06 [Pljava-dev] help on trigges 
@ 2012-10-15 17:33 ` 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2012-10-15 17:33 UTC (permalink / raw)

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2012-10-15 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-10-15 09:06 [Pljava-dev] help on trigges 
2012-10-15 17:33 ` 

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