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

Re: [PATCHES] Additional ODBC patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "'pgsql-odbc(at)postgresql(dot)org'" <pgsql-odbc(at)postgresql(dot)org>, "'pgsql-patches(at)postgresql(dot)org'" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] Additional ODBC patch
Date: 2001-01-26 02:55:06
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbcpgsql-patches
Dave, I applied those three patches.  I need a new one with the changes.

[ Charset ISO-8859-1 unsupported, converting... ]
> Further to the previous ODBC patches I posted today, I found a couple of
> problems with char array sizes having set a couple of constants to 0 for
> unlimited query length and row length. This additional patch cleans those
> problems up by defining a new constant (STD_STATEMENT_LEN) to 65536 and
> using that in place of MAX_STATEMENT_LEN.
> Another constant (MAX_MESSAGE_LEN) was defined as 2*BLCKSZ, but is now
> 65536. This is used to define the length of the message buffer in a number
> of places and as I understand it (probably not that well!) therefore also
> places a limit on the query length. Fixing this properly is beyond my
> capabilities but 65536 should hopefully be large enough for most people.
> Apologies for being over-enthusiastic and posting 3 patches in one day
> rather than 1 better tested one!
> Regards,
> Dave.
>  <<odbc.diff>> 

[ Attachment, skipping... ]

  Bruce Momjian                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-odbc by date

Next:From: Dave PageDate: 2001-01-26 12:16:32
Subject: Updated ODBC Driver Download
Previous:From: Hiroshi InoueDate: 2001-01-26 01:52:16
Subject: Re: [ODBC] Re: RE: [PATCHES] ODBC Patch for OJs/Large Querys & Rows

pgsql-patches by date

Next:From: Achim GottingerDate: 2001-01-26 15:54:52
Subject: patch for src/backends/catalog/
Previous:From: Peter T MountDate: 2001-01-25 17:09:49
Subject: Re: Re: [PATCHES] Patch for jdbc Makefile

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