Skip site navigation (1) Skip section navigation (2)

Re: prepareThreshold=1 and statement.executeBatch() ??

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Joost Kraaijeveld <J(dot)Kraaijeveld(at)Askesis(dot)nl>, Kris Jurka <books(at)ejurka(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: prepareThreshold=1 and statement.executeBatch() ??
Date: 2005-11-13 16:04:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-jdbc
Oliver Jowett <oliver(at)opencloud(dot)com> writes:
> The driver does not actually issue PREPARE or EXECUTE statements; the 
> server is pretending that the protocol-level Prepare/Bind/Execute 
> messages are actually something issuing PREPARE/EXECUTE at the SQL level 

I had not realized that the logging code recently added to Parse/Bind/Execute
deliberately obscures the difference between a Parse message and an SQL
PREPARE (etc).  This is a terrible decision IMHO and needs to be fixed

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Andrew DunstanDate: 2005-11-13 16:12:19
Subject: Re: Multi-table-unique-constraint
Previous:From: Tom LaneDate: 2005-11-13 15:28:28
Subject: Re: Multi-table-unique-constraint

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2005-11-13 19:02:22
Subject: Re: prepareThreshold=1 and statement.executeBatch() ??
Previous:From: Oliver JowettDate: 2005-11-13 10:09:24
Subject: Re: prepareThreshold=1 and statement.executeBatch() ??

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group