[Repost] Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE) - Mailing list pgsql-odbc

From Benjamin Riefenstahl
Subject [Repost] Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)
Date
Msg-id m34qxturog.fsf@seneca.benny.turtle-trading.net
Whole thread Raw
In response to Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)  (Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>)
List pgsql-odbc
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


pgsql-odbc by date:

Previous
From: Eric Hallander
Date:
Subject: New 0200 ODBC Driver issue??
Next
From: LDB
Date:
Subject: majordomo@postgresql.org