accessing arrays

From: Seth Milder <mrseth(at)physics(dot)gmu(dot)edu>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: accessing arrays
Date: 2001-05-03 15:39:13
Message-ID: 3AF17BA1.2060204@physics.gmu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi there,

I was wondering if anyone knows how to access an integer array of
variable length with JDBC. I mean like this:

create table ( foo int4[]);

The insertion is easy, but what method would I use to get this field
from a result set? I am sorry if this is a stupid question, but I am new
to all this.

Thanks,

Seth

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ned Wolpert 2001-05-03 15:48:38 Returning oid or primary key
Previous Message Panu Outinen 2001-05-03 15:32:28 A bug fix for JDBC's getTables() in Postgresql 7.1