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: (view raw, whole thread or download thread mbox)
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 

In response to


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-2017 The PostgreSQL Global Development Group