pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: alfranio correia junior <alfranio@lsd.di.uminho.pt>
To: pgsql-jdbc@postgresql.org
Subject: ParsedStatement Behavior
Date: Tue, 28 Nov 2006 02:31:13 +0000
Message-ID: <456B9F71.3090202@lsd.di.uminho.pt> (raw)

Please, if there is any archive on this let me know.
I was wondering if the reasons to have an specific protocol in order to 
prepare statements are:

1 - Previous versions of the driver used PREPARE and EXECUTE to 
implement server-prepared statements. This is supported on all server 
versions beginning with 7.3, but produced application-visible changes in 
query results, such as missing ResultSet metadata and row update counts.

2 - The need to transfer strange data types such as circle, point.

3 - To Improve performance as binary data type is usually shorter and 
avoid converting from text to binary and vice-versa.

Disregarding such reasons, might I use "prepare name statement" ?

Regards,

Alfranio.



view thread (2+ messages)  latest in thread

Message-ID: <456B9F71.3090202@lsd.di.uminho.pt>
Permalink:  ../456B9F71.3090202@lsd.di.uminho.pt/
Also on:    postgresql.org/message-id/456B9F71.3090202@lsd.di.uminho.pt

 · 

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: alfranio@lsd.di.uminho.pt
  Subject: Re: ParsedStatement Behavior
  In-Reply-To: <456B9F71.3090202@lsd.di.uminho.pt>
  References: <456B9F71.3090202@lsd.di.uminho.pt>

* 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