X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 12195D1B4FE for ; Mon, 27 Oct 2003 16:55:37 +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 85812-05 for ; Mon, 27 Oct 2003 12:55:06 -0400 (AST) Received: from gawab.com (www.gawab.com [204.97.230.36]) by svr1.postgresql.org (Postfix) with SMTP id 8EB5ED1B4F4 for ; Mon, 27 Oct 2003 12:55:05 -0400 (AST) Received: (qmail 51567 invoked by uid 1004); 27 Oct 2003 16:52:43 -0000 Message-ID: <20031027165242.51566.qmail@gawab.com> Received: from 202.158.124.21 by www.gawab.com with HTTP; Mon, 27 Oct 2003 16:52:42 GMT From: "Anis W. Nugroho" To: pgsql-interfaces@postgresql.org Subject: Re: LIBPQ Date: Mon, 27 Oct 2003 16:52:42 GMT Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [202.158.124.21] X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/54 X-Sequence-Number: 4543 The efficient way to prepare your variables is test the query in the postgres front-end (psql) watch the result from the query and set your variable up according to that result. Good luck, Anis WN ________________________________ 15 Mbytes Free Web-based and POP3 Sign up now: http://www.gawab.com