pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6081: trigger CRUD log entries, or documentation not clear that triggers do not log
2+ messages / 2 participants
[nested] [flat]
* BUG #6081: trigger CRUD log entries, or documentation not clear that triggers do not log
@ 2011-06-29 06:56 Tom Hodder <tom@limepepper.co.uk>
0 siblings, 1 reply; 2+ messages in thread
From: Tom Hodder @ 2011-06-29 06:56 UTC (permalink / raw)
To: pgsql-bugs
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #6081: trigger CRUD log entries, or documentation not clear that triggers do not log
@ 2011-07-12 00:28 Bruce Momjian <bruce@momjian.us>
parent: Tom Hodder <tom@limepepper.co.uk>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2011-07-12 00:28 UTC (permalink / raw)
To: Tom Hodder <tom@limepepper.co.uk>; +Cc: pgsql-bugs
Tom Hodder wrote:
>
> 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.
log_statement only shows client-submitted queries, not function or
trigger queries.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2011-07-12 00:28 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-06-29 06:56 BUG #6081: trigger CRUD log entries, or documentation not clear that triggers do not log Tom Hodder <tom@limepepper.co.uk>
2011-07-12 00:28 ` Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox