Re: Log the SQL Statements - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Log the SQL Statements
Date
Msg-id 200304011718.h31HIR618105@candle.pha.pa.us
Whole thread Raw
In response to Re: Log the SQL Statements  (Dennis Gearon <gearond@cvc.net>)
List pgsql-general
It can be used via SET per session, or changed in postgresql.conf to
affect all sessions.

---------------------------------------------------------------------------

Dennis Gearon wrote:
> Is that a command, a setting, what?
>
> Bruce Momjian wrote:
> > In 7.3, it is log_statement.
> >
> > ---------------------------------------------------------------------------
> >
> > David Busby wrote:
> >
> >>List,
> >>    How do I configure PostgreSQL to log all inbound SQL queries/statements?
> >>I've been up and down through debug levels, and other config stuff but can't
> >>find it.  Any ideas?
> >>
> >>/B
> >>
> >>
> >>---------------------------(end of broadcast)---------------------------
> >>TIP 2: you can get off all lists at once with the unregister command
> >>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> >>
> >
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073


pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: stored procedure
Next
From: "scott.marlowe"
Date:
Subject: Re: Dates in inserts