[Repost] Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)

From: Benjamin Riefenstahl <Benjamin(dot)Riefenstahl(at)epost(dot)de>
To: pgsql-odbc(at)postgresql(dot)org
Subject: [Repost] Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)
Date: 2003-10-28 18:45:51
Message-ID: m34qxturog.fsf@seneca.benny.turtle-trading.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Riefenstahl(at)epost(dot)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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Brian Huber 2003-10-28 23:47:38 "Invalid cursor position" error when using recordsets and text fields
Previous Message Eric Hallander 2003-10-28 18:04:03 New 0200 ODBC Driver issue??