Re: BUG #2603: SQLDescribeCol return values

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Reginaldo Martins" <regimartins(at)gmail(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #2603: SQLDescribeCol return values
Date: 2006-08-31 15:22:27
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40154C954@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> -----Original Message-----
> From: pgsql-bugs-owner(at)postgresql(dot)org
> [mailto:pgsql-bugs-owner(at)postgresql(dot)org] On Behalf Of
> Reginaldo Martins
> Sent: 31 August 2006 11:34
> To: pgsql-bugs(at)postgresql(dot)org
> Subject: [BUGS] BUG #2603: SQLDescribeCol return values
>
>
> I'm developing in VC++ 6.0 and I use SQLDescribeCol to
> determine the type of
> each field. When I have a field in a database table defined
> as CHAR(100) the
> function gives me -8 as type value! Is this normal?
> Plus, if I change to CHAR(255) it returns -10!!

Yes:

SQL_WCHAR = -8
SQL_WLONGVARCHAR = -10

Regards, Dave.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Maykon 2006-08-31 15:54:29 BUG #2604: Bug's
Previous Message Reginaldo Martins 2006-08-31 10:33:38 BUG #2603: SQLDescribeCol return values