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 42562B5C.1040805@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:

> OK, thats what I hoped you'd say. With a prepared query all of the
> statements execute the same plan, so you don't need to know the exact
> parameters.

This isn't true in 8.0 if you are using the unnamed statement (as the
JDBC driver does in some cases): the plan chosen depends on the
parameter values given in the first Bind.

-O


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: prepared statements don't log arguments?
Next
From: Tom Lane
Date:
Subject: Re: prepared statements don't log arguments?