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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: swampler(at)noao(dot)edu
Cc: Postgres-ODBC <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Help with hang on empty query (PG 7.3.2,
Date: 2003-11-08 16:18:37
Message-ID: 7224.1068308317@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Steve Wampler <swampler(at)noao(dot)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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Timothy Reaves 2003-11-08 17:33:13 Re: help with OSX make problem
Previous Message Steve Wampler 2003-11-08 15:48:26 Re: Help with hang on empty query (PG 7.3.2,