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 8AB2BD1B8BD for ; Mon, 18 Aug 2003 21:32:02 -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 18845-03 for ; Mon, 18 Aug 2003 21:31:54 -0300 (ADT) Received: from li.pghoster.com (li.pghoster.com [207.44.250.59]) by svr1.postgresql.org (Postfix) with ESMTP id C0143D1B8A2 for ; Mon, 18 Aug 2003 21:31:50 -0300 (ADT) Received: from 200-221-145-64.internetturboadsl.speeduol.com.br (200-221-145-64.internetturboadsl.speeduol.com.br [200.221.145.64] (may be forged)) (authenticated) by li.pghoster.com (8.11.6/8.11.6) with ESMTP id h7J0Z5O30911 for ; Mon, 18 Aug 2003 19:35:06 -0500 From: Andre Felipe Machado Reply-To: andremachado@techforce.com.br To: pgsql-odbc@postgresql.org Subject: large objects and pg 7.3.x Date: Mon, 18 Aug 2003 21:31:18 -0300 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308182131.18596.andremachado@techforce.com.br> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/31 X-Sequence-Number: 3151 Hello, I am trying to use OpenOffice 1.1RC2 and its forms to store images (large objects) into a postgresql 7.3.2 connected through psqlodbc when at windows and unixodbc when at linux. Since pg 7.3.0, the prescribed workaround to create a new type "lo" does not work anymore. I already tested the semi-official postgresql-contrib package that contains a "lo" implementation in c and sql. It works nicely. I can store and extract images (jpeg, gif) from database and the trigger launches db cleanup when deleting. Reading the code, with my limited skill, I found the following files containing large objects code in the psqlodbc: connection.c convert.c execute.c pgtypes.c statements.c And their companion h files. Please, is this possible to modify psqlodbc to use the semi-official "lo" implementation? Regards. Andre Felipe