X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 5B6A59DCBB1 for ; Mon, 27 Feb 2006 09:24:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23023-04 for ; Mon, 27 Feb 2006 09:24:46 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id 587609DCAAE for ; Mon, 27 Feb 2006 09:24:39 -0400 (AST) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k1RDOVsT023527; Mon, 27 Feb 2006 14:24:31 +0100 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k1RDOV57023526; Mon, 27 Feb 2006 14:24:31 +0100 Date: Mon, 27 Feb 2006 14:24:31 +0100 From: Ludek Finstrle To: Gerhard.Lutz@mbtech-group.com Cc: pgsql-odbc@postgresql.org Subject: Re: Bug report 2267: Accessing large objects via ODBC Message-ID: <20060227132431.GA23449@soptik.pzkagis.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV 0.88/1304/Sun Feb 26 12:47:28 2006 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.094 required=5 tests=[AWL=0.094] X-Spam-Score: 0.094 X-Spam-Level: X-Archive-Number: 200602/151 X-Sequence-Number: 7280 > WHERE id=6", SQL_NTS); > ::SQLFetch(m_hStmt); > ::SQLGetData(m_hStmt, nCol, SQL_C_BINARY, pBuffer, nPacketSize, > &sdODataLength); > > I get the error message > > "Received an unsupported type from Postgres. (14)" > > In PostgreSQL 8.0.4 this worked without a problem. > In 8.1.3 I can also see in pgAdmin III that there are no functions > lo_in(lo) and lo_out(lo) in the tree. > > Perhaps this is an installation bug in 8.1.3? > Has anybody got an idea? I see no psqlODBC version in your report. How did you create the lo type? Did you follow psqlODBC FAQ? Regards, Luf