Re: prepared statements don't log arguments? - Mailing list pgsql-hackers

From Oliver Jowett
Subject Re: prepared statements don't log arguments?
Date
Msg-id 4258BF88.2070103@opencloud.com
Whole thread Raw
In response to Re: prepared statements don't log arguments?  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: prepared statements don't log arguments?
List pgsql-hackers
Simon Riggs wrote:

> I've got a patch to submit that logs the EXEC phase, so you get just the
> SQL, not the parameters. [...]

I assume this replaces the current logging on Parse to avoid duplicate
logging?

What happens on syntax errors? It's useful to log the statement that
failed, but you will need some trickery there since if the Parse logging
goes away, we won't have logged anything at the point the error is
generated.

-O


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Unicode problems on IRC
Next
From: Bruce Momjian
Date:
Subject: Three-byte Unicode characters