pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Lister <john.lister-ps@kickstone.com>
To: pgsql-jdbc@postgresql.org
Subject: Array passing
Date: Tue, 7 Apr 2009 15:24:22 +0100
Message-ID: <E20C873C7A4448C3AF0A68B421ADED62@squarepi.com> (raw)

Hi, i've been playing with arrays using the 604 version JDBC 4 driver and i have a question. They seem to be converted to strings which are passed back and forth to the server.

Is it possible to configure the driver to pass the arrays in native form? The overhead of converting to strings is quite big in my case (both in the size of the string and the time taken) so would like to eliminate it if possible...

Which leads onto, does the postgresql protocol support native arrays? i'm trying to find docs about the datatypes but would hope it did...

Thanks

JOHN
--

Got needs? Get Goblin'! - http://www.pricegoblin.co.uk/

view thread (13+ messages)  latest in thread

Message-ID: <E20C873C7A4448C3AF0A68B421ADED62@squarepi.com>
Permalink:  ../E20C873C7A4448C3AF0A68B421ADED62@squarepi.com/
Also on:    postgresql.org/message-id/E20C873C7A4448C3AF0A68B421ADED62@squarepi.com

 · 

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: john.lister-ps@kickstone.com
  Subject: Re: Array passing
  In-Reply-To: <E20C873C7A4448C3AF0A68B421ADED62@squarepi.com>
  References: <E20C873C7A4448C3AF0A68B421ADED62@squarepi.com>

* 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