Re: Log the SQL Statements

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: gearond(at)cvc(dot)net
Cc: David Busby <busby(at)edoceo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Log the SQL Statements
Date: 2003-04-01 17:18:27
Message-ID: 200304011718.h31HIR618105@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org)
> >>
> >
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-04-01 17:26:27 Re: Dates in inserts
Previous Message Dennis Gearon 2003-04-01 17:12:24 Re: stored procedure