Additional ODBC patch

Поиск
Список
Период
Сортировка
От Dave Page
Тема Additional ODBC patch
Дата
Msg-id 8568FC767B4AD311AC33006097BCD3D61A2915@woody.vale-housing.co.uk
обсуждение исходный текст
Ответы Re: Additional ODBC patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
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>>

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: bamby
Дата:
Сообщение: Re: [PORTS] Locale bug
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: Re: [INTERFACES] Patch for JDBC timestamp problems