RE: [INTERFACES] Arrays in PostgreSQL - Mailing list pgsql-general

From Peter Mount
Subject RE: [INTERFACES] Arrays in PostgreSQL
Date
Msg-id 1B3D5E532D18D311861A00600865478C9FCF@exchange1.nt.maidstone.gov.uk
Whole thread Raw
List pgsql-general
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@crcg.edu]
Sent: Wednesday, June 23, 1999 12:05 AM
To: PostgreSQL General Mailing List; pgsql-interfaces@postgreSQL.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@crcg.edu

pgsql-general by date:

Previous
From: lynch@cognitivearts.com (Richard Lynch)
Date:
Subject: No rule to make target 'util/SUBSYS.o'. Stop.
Next
From: Constantin Teodorescu
Date:
Subject: PostgreSQL 6.5 binaries for Win32 available ?