From: | smarvin(at)pobox(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #12897: SQLDescribeColumn() and bit columns |
Date: | 2015-03-25 14:05:22 |
Message-ID: | 20150325140522.2562.7220@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 12897
Logged by: Steve Marvin
Email address: smarvin(at)pobox(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2015-03-25 14:31:47 | Re: "no-slave yet" early CREATE TABLE transaction gets blocked when synchronous replication |
Previous Message | Jaimin Pan | 2015-03-25 13:59:17 | [Report Bug With Patch] Rel Cache Bug |