Re: [GENERAL] Using BLOBs with PostgreSQL

Поиск
Список
Период
Сортировка
От Tim Kientzle
Тема Re: [GENERAL] Using BLOBs with PostgreSQL
Дата
Msg-id 39E25D8D.B11B36C1@acm.org
обсуждение исходный текст
Ответ на Re: [GENERAL] Using BLOBs with PostgreSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [GENERAL] Using BLOBs with PostgreSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: ALTER TABLE DROP COLUMN
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: ALTER TABLE DROP COLUMN