X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BED8E569BB for ; Wed, 16 Mar 2005 18:18:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83943-09 for ; Wed, 16 Mar 2005 18:18:21 +0000 (GMT) Received: from smtp12.wanadoo.fr (smtp12.wanadoo.fr [193.252.22.20]) by svr1.postgresql.org (Postfix) with ESMTP id CB35A569C6 for ; Wed, 16 Mar 2005 18:18:15 +0000 (GMT) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1204.wanadoo.fr (SMTP Server) with ESMTP id C76F91C00083 for ; Wed, 16 Mar 2005 19:18:14 +0100 (CET) Received: from hugues.geosignal.fr (LNeuilly-152_23-3-219.w82-127.abo.wanadoo.fr [82.127.98.219]) by mwinf1204.wanadoo.fr (SMTP Server) with ESMTP id 847CF1C000AA for ; Wed, 16 Mar 2005 19:18:14 +0100 (CET) X-ME-UUID: 20050316181814542.847CF1C000AA@mwinf1204.wanadoo.fr Date: Wed, 16 Mar 2005 19:18:28 +0100 To: pgsql-odbc@postgresql.org Subject: problem using PostGIS and long shapes From: "Hugues Moisy" Organization: GEOSIGNAL Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/7.54 (Win32, build 3865) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.868 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/63 X-Sequence-Number: 5081 Hi all, I've got a problem with de dobc driver using Postgis. The geometry column is returned as a text with the astext function. With large shapes, corresponding to larger than 16 KB, the driver returns an error (in french): "Une opération OLE-DB en plusieurs étapes a généré des erreurs. Vérifiez chaque valeur d'état OLE-DB disponible. Aucun travail n'a été effectué." if i execute the query directly in Postgres 8.0, it works. So the source of my problem is from the driver. Does anyone have encountered this problem and solved it ? Thanks. -- Hugues