Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group