Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: 20070727__octet_length.diff.txt
Description: text/plain (1004 bytes)

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group