Re: BYTEA and ODBC driver

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Ashley Clark <aclark(at)ghoti(dot)org>
Cc: Postgres Interface List <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: BYTEA and ODBC driver
Date: 2001-07-25 00:54:30
Message-ID: 3B5E18C6.FA30BBEE@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Ashley Clark wrote:
>
> * Hiroshi Inoue in "Re: [INTERFACES] BYTEA and ODBC driver" dated
> * 2001/07/24 13:11 wrote:
>
> > Ashley Clark wrote:
> > >
> > > Shouldn't I be able to store images in a field of BYTEA type? I
> > > keep getting errors saying that I can't store that kind of
> > > information in a field of that type. I'm using the latest ODBC
> > > driver (7.01.0006).
> >
> > BYTEA type seems unavailable for your purpose.
> > You seem to have to use large objects.
> > See http://odbc.postgresql.org/ (FAQ).
>
> Yes, I understand that using the lo type would work but what plans are
> there to support BYTEA in the ODBC driver?

BYTEA seems to be considered as a candidate for BLOB but
I don't see the conclusion yet. If BYTEA would be BLOB
ODBC driver should support it IMHO.
However BYTEA is inconvenient to handle now. For example
its input/output method is very ineffective.

regards,
Hiroshi Inoue

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Darko Prenosil 2001-07-25 14:59:13 WIN32 MULTIBYTE
Previous Message Takehiko Abe 2001-07-24 15:23:09 database encoding