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

pgsql/src/interfaces/odbc info.c psqlodbc.h st ...

From: Bruce Momjian - CVS <momjian(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/odbc info.c psqlodbc.h st ...
Date: 2001-01-25 03:28:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	momjian(at)hub(dot)org	01/01/24 22:28:27

Modified files:
	src/interfaces/odbc: info.c psqlodbc.h statement.h 

Log message:
	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!
	Dave Page

pgsql-committers by date

Next:From: Tom LaneDate: 2001-01-25 03:31:16
Subject: pgsql/src include/storage/lock.h include/stora ...
Previous:From: Bruce Momjian - CVSDate: 2001-01-25 03:27:47
Subject: pgsql/src/interfaces/odbc info.c

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