X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id CB954D1BB0B for ; Thu, 21 Aug 2003 08:50:34 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 78930-08 for ; Thu, 21 Aug 2003 08:50:27 -0300 (ADT) Received: from rigel.pucrs.br (rigel.pucrs.br [200.132.10.13]) by svr1.postgresql.org (Postfix) with ESMTP id 60B4FD1BB23 for ; Thu, 21 Aug 2003 08:50:23 -0300 (ADT) Received: (from root@localhost) by rigel.pucrs.br (8.12.9/8.12.9) id h7LBfwCm090587; Thu, 21 Aug 2003 08:41:58 -0300 (EST) Received: from 200.132.57.38 ([200.132.57.38]) by rigel.pucrs.br (8.12.9/8.12.9) with ESMTP id h7LBfjYs090418; Thu, 21 Aug 2003 08:41:57 -0300 (EST) From: Andre Felipe Machado To: Hiroshi Inoue Subject: Re: large objects and pg 7.3.x with OpenOffice.org Date: Thu, 21 Aug 2003 08:49:30 -0300 User-Agent: KMail/1.5.2 Cc: pgsql-odbc@postgresql.org References: <003201c3672a$31069c30$3d283ddb@PbgX> <200308201413.44280.andremachado@techforce.com.br> <3F44A0A3.8363A1@tpf.co.jp> In-Reply-To: <3F44A0A3.8363A1@tpf.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308210849.32534.andremachado@techforce.com.br> X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/52 X-Sequence-Number: 3172 Hello, Hiroshi Many thanks for your message. I opened a new issue at openoffice.org describing this behaviour and asking for some guidance, given your findings in the log. I tried to use the "bytea as LO" in the psqlodbc, but it does not work too. An error pops : error inserting the record. SQL error HY000 Error code 7. Verifying the db, it shows the ID updated, but not the image. Please, try yourself to see the details. For use bytea as lo, is there another set up to execute? Best regards. Andre Felipe > > OpenOffice is binding SQL_BINARY(SQL_C_BINARY seems a unixODBC's > bug) SQL Type parameter not an SQL_LONGVARBINARY one. Unfortunately > I don't understand the reason. > > Though I don't love the *bytea* type, you can turn on > the *bytea as LO* DSN option. *bytea* is only for not > so large objects. > > regards, > Hiroshi Inoue > http://www.geocities.jp/inocchichichi/psqlodbc/