pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102
Date: Mon, 11 Jan 2016 14:57:17 +0100
Message-ID: <n70cbt$5ao$1@ger.gmane.org> (raw)
In-Reply-To: <CAB=Je-Ea77aCTYVQPURxuDV34099ZotXGstC5kXbvhaLq4yYmQ@mail.gmail.com>
References: <n708gj$348$1@ger.gmane.org>
	<CAB=Je-FWxz+vQQaXLS7kP1rzCFVjdVVJg+vzq7DDF66ASddy8Q@mail.gmail.com>
	<n70912$ap6$1@ger.gmane.org>
	<CAB=Je-Ea77aCTYVQPURxuDV34099ZotXGstC5kXbvhaLq4yYmQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Vladimir Sitnikov schrieb am 11.01.2016 um 14:05:
> The difference is as follows: 1202 can cache across statement.close()
> calls. 1201 can't do that.
> 
> In other words, to use server-prepared statements in previous
> versions, you had to reuse the *same* PreparedStatement *object* again
> and again. As soon as you issue .close() you lose your shiny
> server-prepared statement.
> 

Ah, thanks. 




-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (72+ messages)  latest in thread

Message-ID: <n70cbt$5ao$1@ger.gmane.org>
Permalink:  ../n70cbt$5ao$1@ger.gmane.org/
Also on:    postgresql.org/message-id/n70cbt$5ao$1@ger.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102
  In-Reply-To: <n70cbt$5ao$1@ger.gmane.org>
  References: <n708gj$348$1@ger.gmane.org> <CAB=Je-FWxz+vQQaXLS7kP1rzCFVjdVVJg+vzq7DDF66ASddy8Q@mail.gmail.com> <n70912$ap6$1@ger.gmane.org> <CAB=Je-Ea77aCTYVQPURxuDV34099ZotXGstC5kXbvhaLq4yYmQ@mail.gmail.com> <n70cbt$5ao$1@ger.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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