Re: Help with hang on empty query (PG 7.3.2,

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Help with hang on empty query (PG 7.3.2,
Дата
Msg-id 7224.1068308317@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Help with hang on empty query (PG 7.3.2,  (Steve Wampler <swampler@noao.edu>)
Список pgsql-odbc
Steve Wampler <swampler@noao.edu> writes:
>> I've installed from source psqlodbc-07.03.0200 (pthread
>> and iodbc support).  From the logs it looks as though the
>> connection is succeeding up to the point that an
>> empty query is sent (dunno why the empty query is being
>> sent - it appears to be part of the connection procedure).
>> At this point the connection hangs - no messages, or errors.

I'm just guessing, but my first guess is that the empty-query path in
the driver fails to do an fflush() to push out the query to the backend.
You could possibly confirm this by sniffing the connection with a packet
monitor to see what is the last data sent by the client side.

            regards, tom lane

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

Предыдущее
От: Steve Wampler
Дата:
Сообщение: Re: Help with hang on empty query (PG 7.3.2,
Следующее
От: Timothy Reaves
Дата:
Сообщение: Re: help with OSX make problem