From: | Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk> |
---|---|
To: | "'Steffen Zimmert'" <szimmert(at)crcg(dot)edu>, PostgreSQL General Mailing List <pgsql-general(at)hub(dot)org>, pgsql-interfaces(at)postgreSQL(dot)org |
Subject: | RE: [INTERFACES] Arrays in PostgreSQL |
Date: | 1999-06-23 07:03:18 |
Message-ID: | 1B3D5E532D18D311861A00600865478C9FCF@exchange1.nt.maidstone.gov.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-interfaces |
In JDBC2 you do have the notion of arrays, but I've yet to get to them.
The only real way is to convert the Double[] to a string using
PostgreSQL's array syntax (which I can't remember what it looks like at
the moment), then store it using PreparedStatement.setString()
Peter
Peter
--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.
-----Original Message-----
From: Steffen Zimmert [mailto:szimmert(at)crcg(dot)edu]
Sent: Wednesday, June 23, 1999 12:05 AM
To: PostgreSQL General Mailing List; pgsql-interfaces(at)postgreSQL(dot)org
Subject: [INTERFACES] Arrays in PostgreSQL
Hi,
since I have serious problems with some of the features of the JDBC
driver I am searching for a different way to store the following
structure efficiently in the PostgreSQL database.
How can I store an array of double numbers and retrieve it without
creating a row for each entry? I read something about arrays in
PostgreSQL and I wonder if this feature can be used to retrieve the
whole array at once instead of retrieving the entries sequentially?
--
Best Regards,
Steffen Zimmert
Steffen Zimmert
Fraunhofer Center for Research in Computer Graphics
Providence, Rhode Island, USA
email: szimmert(at)crcg(dot)edu
From | Date | Subject | |
---|---|---|---|
Next Message | Constantin Teodorescu | 1999-06-23 07:38:33 | PostgreSQL 6.5 binaries for Win32 available ? |
Previous Message | Richard Lynch | 1999-06-23 05:35:21 | No rule to make target 'util/SUBSYS.o'. Stop. |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Mount | 1999-06-23 07:11:22 | RE: [INTERFACES] JDBC and character sets |
Previous Message | Thomas Lockhart | 1999-06-23 06:03:10 | Re: [INTERFACES] pgaccess and RH 6.0? |