Re: Binary Large Data on Postgres

From: "David Wall" <d(dot)wall(at)computer(dot)org>
To: Torsten Krämer <tk(at)kreakom(dot)de>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Binary Large Data on Postgres
Date: 2001-03-14 16:19:30
Message-ID: 018a01c0aca2$8c63bd00$5a2b7ad8@expertrade.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> i want to store my binary data such as Images,PDFs etc. in a database.
> In Postgres doesn't exists the data type BLOB.
> So i Have to store it an text field, haven't i ?
> How long can a text field be?

Use datatype OID for blobs. If you also use JDBC, then use the
setBytes()/getBytes() method to store/retrieve the blob.

David

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-14 16:20:38 Re: System Tables
Previous Message Bruno Wolff III 2001-03-14 16:04:53 Re: Please Help