pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
To: pgsql-odbc@postgresql.org
Subject: [Repost] Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)
Date: Tue, 28 Oct 2003 19:45:51 +0100
Message-ID: <m34qxturog.fsf@seneca.benny.turtle-trading.net> (raw)
In-Reply-To: <m3ismiz8lj.fsf@seneca.benny.turtle-trading.net>
References: <m3ismiz8lj.fsf@seneca.benny.turtle-trading.net>

Hi all,


Is nobody interested in this bug?  Or maybe it isn't a bug and I am
just misunderstanding something?  "Is there anybody out there?" ;-)


Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> writes:
> The symptom is that the expression "SELECT COUNT(*) FROM anytable"
> returns an empty string.  Actually the same happens with any
> aggregate function that I have tried.
>
> Delving into the C source of the ODBC wrapper I am using, I find
> that this function call
>
>   rc = SQLColAttributes(stmt, col, SQL_COLUMN_DISPLAY_SIZE, 
>       NULL, 0, NULL, &cbValueMax);
>
> puts 0 into "cbValueMax". 


benny




view thread (2+ messages)

Message-ID: <m34qxturog.fsf@seneca.benny.turtle-trading.net>
Permalink:  ../m34qxturog.fsf@seneca.benny.turtle-trading.net/
Also on:    postgresql.org/message-id/m34qxturog.fsf@seneca.benny.turtle-trading.net

 · 

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: Benjamin.Riefenstahl@epost.de
  Subject: Re: [Repost] Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)
  In-Reply-To: <m34qxturog.fsf@seneca.benny.turtle-trading.net>
  References: <m3ismiz8lj.fsf@seneca.benny.turtle-trading.net> <m34qxturog.fsf@seneca.benny.turtle-trading.net>

* 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