Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 48E8F9FB2A6 for ; Thu, 23 Nov 2006 15:03:08 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 58160-03 for ; Thu, 23 Nov 2006 15:03:03 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from fep04.ttnet.net.tr (mail.ttnet.net.tr [212.175.13.129]) by postgresql.org (Postfix) with ESMTP id 8233D9FB29E for ; Thu, 23 Nov 2006 15:03:02 -0400 (AST) Received: from (unknown [192.168.8.104]) by AVGW-I-2.ttnet.net.tr with smtp id 3272_3d9f97b8_7b25_11db_8517_001422175ed8; Thu, 23 Nov 2006 21:03:01 +0200 Received: from alamut ([85.101.16.23]) by fep04.ttnet.net.tr with ESMTP id <20061123190300.RUMW13992.fep04.ttnet.net.tr@alamut>; Thu, 23 Nov 2006 21:03:00 +0200 Received: from (unknown [85.101.16.23]) by AVGW-I-5.ttnet.net.tr with smtp id 7b83_3b935b9e_7b25_11db_9a38_001422143cb8; Thu, 23 Nov 2006 21:02:59 +0200 Date: Thu, 23 Nov 2006 21:01:51 +0200 From: Volkan YAZICI To: Keary Suska Cc: pgsql-interfaces@postgresql.org Subject: Re: Set NULL Using PQexecParams Message-ID: <20061123190150.GB1406@alamut> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-NAI-Spam-Rules: 1 Rules triggered BAYES_00=-2.5 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.62 tagged_above=0 required=5 tests=AWL, BAYES_50, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS, SPF_PASS X-Spam-Level: * X-Archive-Number: 200611/13 X-Sequence-Number: 6328 On Nov 23 11:11, Keary Suska wrote: > Is it possible to set a NULL value as a parameter value to PQexecParams? > I.e., other than hard-coding it into the command string. "paramValues[] specifies the actual values of the parameters. A null pointer in this array means the corresponding parameter is null; ..." says the documentation. Regards.