From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | brian <brian(at)zijn-digital(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: some log statements ignored |
Date: | 2006-10-13 18:19:12 |
Message-ID: | 12327.1160763552@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
brian <brian(at)zijn-digital(dot)com> writes:
> Tom Lane wrote:
>> I'm betting that's really a Parse protocol message, not a PREPARE
>> statement as such (the 8.1 logging code misguidedly tries to obscure the
>> difference). The logging of the subsequent Bind/Execute messages is
>> really weak in existing releases :-(. We've fixed it up for 8.2 though.
> You mean, because the PREPARE .. AS INSERT is different from the actual
> EXECUTE statement that follows it? And the latter isn't flagged as a
> "mod" action?
No, if you were using actual SQL PREPARE and EXECUTE statements via
"simple query" protocol, I think they would both get logged (at least
the current 8.1.5 code looks like it will, not so sure about 8.1.0-4).
The problem is that "extended query" protocol is a different code path
that doesn't have the same logging support.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Shane Ambler | 2006-10-13 18:22:39 | Re: Backup DB not getting connected |
Previous Message | Jim C. Nasby | 2006-10-13 18:07:44 | Re: more anti-postgresql FUD |