Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (8.11.3/8.11.1) with SMTP id f6P0rFf14154 for ; Tue, 24 Jul 2001 20:53:16 -0400 (EDT) (envelope-from Inoue@tpf.co.jp) Received: (qmail 1530 invoked from network); 25 Jul 2001 00:53:05 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 25 Jul 2001 00:53:05 -0000 Received: from tpf.co.jp ([126.0.1.68]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id JAA18297; Wed, 25 Jul 2001 09:53:04 +0900 (JST) Message-ID: <3B5E18C6.FA30BBEE@tpf.co.jp> Date: Wed, 25 Jul 2001 09:54:30 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Ashley Clark CC: Postgres Interface List Subject: Re: BYTEA and ODBC driver References: <20010723133931.A2422@ghoti.org> <3B5CF554.26270142@tpf.co.jp> <20010724031036.A9846@ghoti.org> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Archive-Number: 200107/100 X-Sequence-Number: 1854 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