pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
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> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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



Message-ID: <7790.1427305238@sss.pgh.pa.us>
Permalink:  ../7790.1427305238@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7790.1427305238@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: Fwd: [BUGS] BUG #12897: SQLDescribeColumn() and bit columns
  In-Reply-To: <7790.1427305238@sss.pgh.pa.us>
  References: <7790.1427305238@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox