pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: Gerhard.Lutz@mbtech-group.com
Cc: pgsql-odbc@postgresql.org
Subject: Re: Bug report 2267: Accessing large objects via ODBC
Date: Mon, 27 Feb 2006 14:24:31 +0100
Message-ID: <20060227132431.GA23449@soptik.pzkagis.cz> (raw)
In-Reply-To: <OFE25744AB.6F5D8294-ONC1257122.0046B4DE-C1257122.004713FA@dcx.dcx>
References: <OFE25744AB.6F5D8294-ONC1257122.0046B4DE-C1257122.004713FA@dcx.dcx>

> 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



view thread (3+ messages)  latest in thread

Message-ID: <20060227132431.GA23449@soptik.pzkagis.cz>
Permalink:  ../20060227132431.GA23449@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20060227132431.GA23449@soptik.pzkagis.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: luf@pzkagis.cz, Gerhard.Lutz@mbtech-group.com
  Subject: Re: Bug report 2267: Accessing large objects via ODBC
  In-Reply-To: <20060227132431.GA23449@soptik.pzkagis.cz>
  References: <OFE25744AB.6F5D8294-ONC1257122.0046B4DE-C1257122.004713FA@dcx.dcx> <20060227132431.GA23449@soptik.pzkagis.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox