| От | Craig Ringer |
|---|---|
| Тема | Re: Protocol de-synchronisation bug, bogus query sent |
| Дата | |
| Msg-id | 53A39493.5030104@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Re: Protocol de-synchronisation bug, bogus query sent (Craig Ringer <craig@2ndquadrant.com>) |
| Ответы |
Re: Protocol de-synchronisation bug, bogus query sent
|
| Список | pgsql-odbc |
On 06/20/2014 08:29 AM, Craig Ringer wrote: > On 06/19/2014 08:08 PM, Hiroshi Inoue wrote: >> (2014/06/19 11:47), Craig Ringer wrote: >>> On 06/19/2014 12:56 PM, Craig Ringer wrote: >>>> >>>> and we're attempting to use the version obtained from the server before >>>> we have it, instead of the conninfo-specified version to use for >>>> protocol selection purposes. >>> >>> The attached patch fixes this. >> >> Thanks. >> I would also check the source of this trouble. > > Huh? > > That _is_ the source of this trouble. Some code that runs during > connection setup, before the server version is available, tries to use > the version obtained from the server instead of the protocol version > requested in the conninfo. Just to clarify, only the 0002 patch is required. My branch at: https://github.com/ringerc/psqlodbc/tree/fix-febe-protocol-desync-emptyquery only contains the second patch. I've attached a revised version that should make that clearer. Please apply / pull. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера