Re: [GENERAL] Using BLOBs with PostgreSQL

From: Tim Kientzle <kientzle(at)acm(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] Using BLOBs with PostgreSQL
Date: 2000-10-10 00:06:37
Message-ID: 39E25D8D.B11B36C1@acm.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Bruce Momjian wrote:
> > On Sat, 07 Oct 2000, Tim Kientzle wrote:
> > > I've been using MySQL for initial development; it has pretty
> > > clean and easy-to-use BLOB support. You just declare a BLOB
> > > column type, then read and write arbitrarily large chunks of data.
> >
> > If you're talking about BLOB texts, just declare the column as text and thats
> > all. In the case of binary data, I don't have an idea. I only work we text
> > data.
>
> Yes, this opens a good question. We have long text fields, and bytea for
> binary input with escapes. As far as I know, we can store binary values
> in text fields, but we have no way of getting them in there via SQL
> queries (except for bytea using escapes for the binary values).

"bytea for binary data with escapes"??

What would those escapes look like? I could not find any escape
that would put a NULL character into a bytea field.

- Tim Kientzle

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John McKown 2000-10-10 00:07:14 Re: distinct
Previous Message Stephan Szabo 2000-10-10 00:03:31 Re: distinct

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-10-10 00:16:16 Re: Small patch to replace 'idle' by 'trans' if transaction is still open
Previous Message Bruce Momjian 2000-10-10 00:05:19 Re: ALTER TABLE DROP COLUMN