Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YapIL-0007bs-2h for pgsql-odbc@arkaria.postgresql.org; Wed, 25 Mar 2015 17:40:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YapIK-00050a-Ic for pgsql-odbc@arkaria.postgresql.org; Wed, 25 Mar 2015 17:40:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YapIJ-00050U-VA for pgsql-odbc@postgreSQL.org; Wed, 25 Mar 2015 17:40:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YapIG-0004cG-Eq for pgsql-odbc@postgreSQL.org; Wed, 25 Mar 2015 17:40:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t2PHecSw007791 for ; Wed, 25 Mar 2015 13:40:38 -0400 From: Tom Lane To: pgsql-odbc@postgreSQL.org Subject: Fwd: [BUGS] BUG #12897: SQLDescribeColumn() and bit columns Date: Wed, 25 Mar 2015 13:40:38 -0400 Message-ID: <7790.1427305238@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org forwarded from core bugs list ------- Forwarded Message Date: Wed, 25 Mar 2015 14:05:22 +0000 From: smarvin@pobox.com To: pgsql-bugs@postgresql.org Subject: [BUGS] BUG #12897: SQLDescribeColumn() and bit columns 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. ------- End of Forwarded Message -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc