Bug in SQLColumns

From: Tilghman Lesher <tilghman(at)mail(dot)jeffandtilghman(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Bug in SQLColumns
Date: 2007-07-27 23:08:09
Message-ID: 200707271808.09470.tilghman@mail.jeffandtilghman.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

The specification for SQLColumns states:

Column 16 CHAR_OCTET_LENGTH (INTEGER)
Contains the maximum length in octets for a character data type column.
For Single Byte character sets, this is the same as COLUMN_SIZE. For
all other data types it is NULL.

However, as currently implemented in psqlodbc-08.02.0300, it is always
encoded as NULL. Patch attached.

--
Tilghman

Attachment Content-Type Size
20070727__octet_length.diff.txt text/plain 1004 bytes

Browse pgsql-odbc by date

  From Date Subject
Next Message Shyam Sunder Rai 2007-07-30 21:00:38 Need help with testing -- psqlodbc-08.02.0400
Previous Message Magnus Hagander 2007-07-27 20:01:06 Re: [PATCHES] patch win32.mak of libpq