pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zoltan Boszormenyi <zboszor@dunaweb.hu>
To: pgsql-odbc@postgresql.org
Subject: Re: PsqlODBC problem with complex query
Date: Wed, 18 May 2005 00:26:48 +0200
Message-ID: <428A6FA8.9050109@dunaweb.hu> (raw)
In-Reply-To: <428A6E28.5070508@dunaweb.hu>
References: <428A6A51.2070304@dunaweb.hu>
	<428A6E28.5070508@dunaweb.hu>

Zoltan Boszormenyi írta:
>> The report is correct with both unixODBC PostgreSQL drivers but
>> contains garbage when used with the official psqlodbc drivers.
> 
> 
> The "garbage" needs to be clarified. RLIB gets every field as strings
> using SQLDescribeCol(). It cannot fetch the result row(s) and the
> strings aren't memset()ed in advance.

It's getting too late. I meant SQLGetData().
It uses SQLDescribeCol() internally so it knows the field names
and they can be referenced later.

Best regards,
Zoltán Böszörményi



view thread (3+ messages)

Message-ID: <428A6FA8.9050109@dunaweb.hu>
Permalink:  ../428A6FA8.9050109@dunaweb.hu/
Also on:    postgresql.org/message-id/428A6FA8.9050109@dunaweb.hu

 · 

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: zboszor@dunaweb.hu
  Subject: Re: PsqlODBC problem with complex query
  In-Reply-To: <428A6FA8.9050109@dunaweb.hu>
  References: <428A6A51.2070304@dunaweb.hu> <428A6E28.5070508@dunaweb.hu> <428A6FA8.9050109@dunaweb.hu>

* 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