Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 74075B5DBD0 for ; Wed, 29 Jun 2011 03:56:42 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 36092-06 for ; Wed, 29 Jun 2011 06:56:42 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id ADB11B5DBDA for ; Wed, 29 Jun 2011 03:56:41 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p5T6ueFt081669 for ; Wed, 29 Jun 2011 06:56:40 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p5T6ueLN081668; Wed, 29 Jun 2011 06:56:40 GMT (envelope-from www) Date: Wed, 29 Jun 2011 06:56:40 GMT Message-Id: <201106290656.p5T6ueLN081668@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6081: trigger CRUD log entries, or documentation not clear that triggers do not log From: "Tom Hodder" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201106/214 X-Sequence-Number: 30593 The following bug has been logged online: Bug reference: 6081 Logged by: Tom Hodder Email address: tom@limepepper.co.uk PostgreSQL version: 8.4 Operating system: Fedora 14 x86_64 Description: trigger CRUD log entries, or documentation not clear that triggers do not log Details: with this log directive set; log_statement = 'mod' I would expect that all CRUD statements would be logged to log_filename. However CRUD statements called from trigger functions are not logged. This is unexpected, and does not reflect my reading of the documentation.