log_statement not working on pl/pgsql functions

From: "Fernando Moreno" <azazel(dot)7(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: log_statement not working on pl/pgsql functions
Date: 2008-08-28 21:41:14
Message-ID: b1c45530808281441r3ebb5e44hc55d7a827ad542c8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, I've changed the setting log_statement to mod, in order to log data
modifications, and it's working fine with sentences sent by the client
application (psql included), but insert/update/delete sentences executed
inside functions are not logged. Functions are called in a select query.

I've reloaded (even restarted) the server, the line with the setting is
uncommented and "show log_statement" returns "mod". I changed its value to
"all" for a while and it worked as expected, logging every single query. By
the way, I'm using Postgresql 8.3.1 on window xp.

Am I doing something wrong?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-08-28 22:06:14 Re: MySQL LAST_INSERT_ID() to Postgres
Previous Message Raymond O'Donnell 2008-08-28 21:40:05 Re: ERROR: relation . . . does not exist