Unix Technical Forum

debug levels in server

This is a discussion on debug levels in server within the Pgsql General forums, part of the PostgreSQL category; --> I'm trying to track down a hang in a slony "lock set" command, which creates triggers on a set ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 08:38 PM
David Parker
 
Posts: n/a
Default debug levels in server

I'm trying to track down a hang in a slony "lock set" command, which
creates triggers on a set of tables. I assume that it's getting blocked
by a lock on a table somewhere, and I'd like to print out all the
"create trigger" statements in the postgres log.

I have log_min_messages = DEBUG5, and I'm seeing a lot of logging, but I
don't see the create trigger statements showing up in the log. What do I
need to set to get this output?

Thanks.

- DAP
------------------------------------------------------------------------
----------
David Parker Tazz Networks (401) 709-5130





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 08:39 PM
Tom Lane
 
Posts: n/a
Default Re: debug levels in server

"David Parker" <dparker@tazznetworks.com> writes:
> I'm trying to track down a hang in a slony "lock set" command, which
> creates triggers on a set of tables. I assume that it's getting blocked
> by a lock on a table somewhere, and I'd like to print out all the
> "create trigger" statements in the postgres log.
>
> I have log_min_messages = DEBUG5, and I'm seeing a lot of logging, but I
> don't see the create trigger statements showing up in the log. What do I
> need to set to get this output?


log_statement ...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com