[Repost] Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)

Поиск
Список
Период
Сортировка
От Benjamin Riefenstahl
Тема [Repost] Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)
Дата
Msg-id m34qxturog.fsf@seneca.benny.turtle-trading.net
обсуждение исходный текст
Ответ на Problem with SQLColAttributes(SQL_COLUMN_DISPLAY_SIZE)  (Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>)
Список 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 по дате отправления:

Предыдущее
От: Eric Hallander
Дата:
Сообщение: New 0200 ODBC Driver issue??
Следующее
От: LDB
Дата:
Сообщение: majordomo@postgresql.org