Re: logging queries

From: "Gaetano Mendola" <mendola(at)bigfoot(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: logging queries
Date: 2002-09-24 07:35:35
Message-ID: amp4k6$2f1v$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


""Nick Fankhauser"" <nickf(at)ontko(dot)com> wrote in message
news:NEBBLAAHGLEEPCGOBHDGOEHAFNAA(dot)nickf(at)ontko(dot)com(dot)(dot)(dot)
> Hi-
>
> I'd like to set the logging or debug level so that the text of the queries
> that are executed show up in the log file. It seems to me that I recall
this
> being discussed before, but I can't find any specific references in the
> runtime-config portion of the docs.
>
> Can someone tell me if this is possible & if so, what runtime settings are
> needed?

Well,
in postgresql.conf put
debug_level = 2
debug_print_query = true

Ciao
Gaetano

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mark McEahern 2002-09-24 13:22:26 Re: [DBmirror Issue] recordchange() dies in packageData unless there is a PRIMARY KEY on DELETE and UPDATEs.
Previous Message Rajesh Kumar Mallah. 2002-09-24 07:33:07 Re: [DBmirror Issue] recordchange() dies in packageData unless there is a PRIMARY KEY on DELETE and UPDATEs.