Logging of sql statements?

From: Bjørn T Johansen <btj(at)havleik(dot)no>
To: pgsql-general(at)postgresql(dot)org
Subject: Logging of sql statements?
Date: 2006-03-23 13:07:11
Message-ID: 20060323140711.14c9abc5@foxhound
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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)

Regards,

BTJ

--
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj(at)havleik(dot)no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tass Chapman 2006-03-23 13:10:54 Re: Old pg_xlog files
Previous Message Jimmy Rowe 2006-03-23 12:25:12 Re: delete my email from the list