Search Postgresql Archives

Re: Logging of sql statements?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Mar 2006 14:25:52 +0100
"A. Kretschmer" <andreas.kretschmer@xxxxxxxxxxxxxx> wrote:

> am  23.03.2006, um 14:07:11 +0100 mailte Bjørn T Johansen folgendes:
> > Is it possible to log the actual statement that the server runs? At the moment, the statement that is
> > logged, is logged using ? for parameters; I would like to log the statement after the parameters have been
> > substituted, isn't this possible in 8.1.x? (used to work in 7.x.x)
> 
> Yes, this is possible.
> 
> Set in your postgresql.conf:
> 
> log_statement = all
> 
> Since 8.0 oder 8.1, there you can see parameters in prepared statements.
> 
> 
> 
> HTH, Andreas


This is what I am already using and it doesn't work...


BTJ


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux