From: Tom Lane <tgl@sss.pgh.pa.us>
To: swampler@noao.edu
Cc: Postgres-ODBC <pgsql-odbc@postgresql.org>
Subject: Re: Help with hang on empty query (PG 7.3.2,
Date: Sat, 08 Nov 2003 11:18:37 -0500
Message-ID: <7224.1068308317@sss.pgh.pa.us> (raw)
In-Reply-To: <1068306506.12206.61.camel@weaver.tuc.noao.edu>
References: <1068221099.12206.14.camel@weaver.tuc.noao.edu>
<1068306506.12206.61.camel@weaver.tuc.noao.edu>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, swampler@noao.edu
Subject: Re: Help with hang on empty query (PG 7.3.2,
In-Reply-To: <7224.1068308317@sss.pgh.pa.us>
References: <1068221099.12206.14.camel@weaver.tuc.noao.edu> <1068306506.12206.61.camel@weaver.tuc.noao.edu> <7224.1068308317@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox