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 2CFE3D1B4EB for ; Sat, 8 Nov 2003 23:34:14 +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 54281-06 for ; Sat, 8 Nov 2003 19:33:45 -0400 (AST) Received: from sd.tpf.co.jp (unknown [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id 60C45D1B4E9 for ; Sat, 8 Nov 2003 19:33:40 -0400 (AST) Received: (qmail 22635 invoked from network); 9 Nov 2003 08:33:34 +0900 X-Authentication: inoue was authenticated by tpf.co.jp at 9 Nov 2003 08:33:34 +0900 Received: from unknown (HELO PbgX) (219.61.40.61) by tpf.co.jp with SMTP; 9 Nov 2003 08:33:34 +0900 From: "Hiroshi Inoue" To: Cc: "'Postgres-ODBC'" Subject: Re: Help with hang on empty query (PG 7.3.2, Date: Sun, 9 Nov 2003 08:33:36 +0900 Message-ID: <012c01c3a650$bb5a07e0$3d283ddb@PbgX> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <1068306506.12206.61.camel@weaver.tuc.noao.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/61 X-Sequence-Number: 3463 > -----Original Message----- > From: Steve Wampler > > On Fri, 2003-11-07 at 09:05, Steve Wampler wrote: > > I recently upgraded a system from RedHat 8 to RedHat 9, which > > meant an upgrade of PG 7.2 to 7.3.2. Several applications > > that are written in a language that relies upon odbc to access > > postgresql have stopped working. > > I've now verified that the same hang occurs when using the > odbctest program that comes with libiodbc. > > Can anyone suggest a way to track this down further? Thanks! Could you try to remove ENTER_CONN_CS in CC_send_query in connection.c and change all RETURN_AFTER_LEAVE_CS(self, ..) to "return ..(the 2nd parameter) "? regards, Hiroshi Inoue