X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 861EDD1B507 for ; Sat, 8 Nov 2003 16:20:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 82514-10 for ; Sat, 8 Nov 2003 12:19:50 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 69C73D1B506 for ; Sat, 8 Nov 2003 12:19:49 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hA8GIc19007225; Sat, 8 Nov 2003 11:18:38 -0500 (EST) To: swampler@noao.edu Cc: Postgres-ODBC Subject: Re: Help with hang on empty query (PG 7.3.2, 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> Comments: In-reply-to Steve Wampler message dated "Sat, 08 Nov 2003 08:48:26 -0700" Date: Sat, 08 Nov 2003 11:18:37 -0500 Message-ID: <7224.1068308317@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/55 X-Sequence-Number: 3457 Steve Wampler 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