BUG #12897: SQLDescribeColumn() and bit columns

Поиск
Список
Период
Сортировка
От smarvin@pobox.com
Тема BUG #12897: SQLDescribeColumn() and bit columns
Дата
Msg-id 20150325140522.2562.7220@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12897
Logged by:          Steve Marvin
Email address:      smarvin@pobox.com
PostgreSQL version: 9.4.1
Operating system:   Windows 8.1
Description:

when using statement 'select btest from public.tblname limit 1',
SQLDescribeColumn(1,...) returns nSQLType of 12 (SQL_VARCHAR) and length of
255 on columns of type 'bit' instead of -7(SQL_BIT) and length of 1.
select * from information_schema.columns using tablename,columnname,catalog
shows
the data_type is 'bit' and all other column information is correct.
ODBC Driver is PostgreSQL ANSI 9.03.04.00 10/26/2014.
Tested both x86 and x64 drivers.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Jaimin Pan
Дата:
Сообщение: [Report Bug With Patch] Rel Cache Bug
Следующее
От: jgpedro@gmail.com
Дата:
Сообщение: BUG #12898: Failure loading materialized view with pg_restore