best way to use bitvarying?

From: Laurette Cisneros <laurette(at)nextbus(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: best way to use bitvarying?
Date: 2002-01-08 00:26:39
Message-ID: Pine.LNX.4.33.0201071624070.6706-100000@visor.corp.nextbus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Hi all,

We would like to store *small* images into bitvarying fields. These will
then be read in via jdbc and eventually rendered in a browser. What is the
best way to pull them into Java? Is there a type and methods that are best
suited for this data type? Currently, we are using text and treating it as
a string of 0's and 1's. Any suggestions for a better way?

Thanks for your help,

--
Laurette Cisneros
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
Passenger Information Everywhere
select count(*) from blessings;

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2002-01-08 00:38:56 Re: best way to use bitvarying?
Previous Message Peter Eisentraut 2002-01-07 19:31:24 Re: JDBC/Postgres Question . . .