X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6D4DDD1B16A for ; Mon, 19 Jul 2004 17:04:30 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65445-05 for ; Mon, 19 Jul 2004 20:04:30 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C866CD1B27A for ; Mon, 19 Jul 2004 17:04:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i6JK4SEV025151; Mon, 19 Jul 2004 16:04:28 -0400 (EDT) To: Kemin Zhou Cc: pgsql-sql@postgresql.org Subject: Re: C++ interface problem with libpq.so.3 In-reply-to: <40FC18CC.8030108@ferring.com> References: <40FC18CC.8030108@ferring.com> Comments: In-reply-to Kemin Zhou message dated "Mon, 19 Jul 2004 11:54:04 -0700" Date: Mon, 19 Jul 2004 16:04:28 -0400 Message-ID: <25150.1090267468@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/119 X-Sequence-Number: 18371 Kemin Zhou writes: > I have writte a simple program to access PGDB from a C++ program using > the libpq++-4.0 > Most of time it runs perfect. This morning, it was working fine. Then > later it stopped working. > The symptom is that my program went to asleep. Looks to me like it's just waiting for a response from the backend. I'd suggest looking into what the backend is doing. I doubt you have an "interface" problem at all... regards, tom lane