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

Re: JDBC and arrays

From: Kris Jurka <books(at)ejurka(dot)com>
To: Miroslav Šulc <miroslav(dot)sulc(at)startnet(dot)cz>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC and arrays
Date: 2007-02-02 17:00:25
Message-ID: Pine.BSO.4.64.0702021158370.19418@leary2.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Fri, 2 Feb 2007, Miroslav Šulc wrote:

> Thank you for explanation. If I still want to write inet[] data, is it 
> sufficient to implement PGobject so it returns 'inet[]' type and '{ "ip", 
> "ip" }' value and pass that to setObject()?

That should work although you'll probably need to write _inet 
instead of inet[].  The underscore variant is the the backend's true 
datatype name and I'm not sure if it will accept the other version in this 
context.

In response to

Responses

pgsql-jdbc by date

Next:From: Wm.A.StaffordDate: 2007-02-02 19:30:02
Subject: out of memory error
Previous:From: Russell FrancisDate: 2007-02-02 14:40:39
Subject: Re: JDBC and arrays

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