X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 049CB3A3BC0 for ; Tue, 9 Nov 2004 14:55:03 +0000 (GMT) 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 41014-09 for ; Tue, 9 Nov 2004 14:54:57 +0000 (GMT) Received: from ll.mit.edu (LLMAIL.LL.MIT.EDU [129.55.12.40]) by svr1.postgresql.org (Postfix) with ESMTP id D05573A3B88 for ; Tue, 9 Nov 2004 14:54:58 +0000 (GMT) Received: (from smtp@localhost) by ll.mit.edu (8.12.10/8.8.8) id iA9Ess5C018587; Tue, 9 Nov 2004 09:54:54 -0500 (EST) Received: from UNKNOWN( ), claiming to be "[155.34.76.160]" via SMTP by llpost, id smtpdAAAHEaigK; Tue Nov 9 09:54:51 2004 Subject: Re: newbie libpq question... From: Doug Homoelle To: "D'Arcy J.M. Cain" Cc: pgsql-interfaces@postgresql.org In-Reply-To: <20041108182155.086d9d58.darcy@druid.net> References: <1099953369.2819.11.camel@> <20041108182155.086d9d58.darcy@druid.net> Content-Type: text/plain Message-Id: <1100012089.2819.13.camel@ > Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 09 Nov 2004 09:54:49 -0500 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.8 tagged_above=0.0 required=5.0 tests=INVALID_MSGID X-Spam-Level: * X-Archive-Number: 200411/15 X-Sequence-Number: 5141 That worked. I guess I would have expected an error if there was a type mismatch, but like I said, my C is pretty rusty. > I think you need "number of cols: %d\n" there. Those functions returns > int.