pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steffen Zimmert <szimmert@crcg.edu>
To: Herouth Maoz <herouth@oumail.openu.ac.il>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: JDBC:Using Large Objects
Date: Tue, 22 Jun 1999 12:04:01 -0700
Message-ID: <376FDE21.E8EEE3EF@crcg.edu> (raw)
References: <l03130307b39562624224@[147.233.159.109]>


Herouth Maoz wrote:
> 
> At 21:38 +0300 on 22/06/1999, Steffen Zimmert wrote:
> 
> > I created the associated database table with the following statement:
> > create table images (imgname name, imgoid oid);

> Well, if it's defined as an oid, and you pass an array of bytes to it, it
> certainly won't work. An oid is a four-byte integer, not a byte array.

I see. But this is the way it is described in the JDBC docs, at page
167. Is there a way to save a Byte array in the PostgreSQL database? 

-- 
Best Regards,
Steffen Zimmert


Steffen Zimmert
Fraunhofer Center for Research in Computer Graphics
Providence, Rhode Island, USA
email: szimmert@crcg.edu



view thread (6+ messages)  latest in thread

Message-ID: <376FDE21.E8EEE3EF@crcg.edu>
Permalink:  ../376FDE21.E8EEE3EF@crcg.edu/
Also on:    postgresql.org/message-id/376FDE21.E8EEE3EF@crcg.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: szimmert@crcg.edu, herouth@oumail.openu.ac.il
  Subject: Re: JDBC:Using Large Objects
  In-Reply-To: <376FDE21.E8EEE3EF@crcg.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox