Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 01F0A9FA265 for ; Fri, 1 Dec 2006 13:48:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 23136-06 for ; Fri, 1 Dec 2006 13:47:52 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 316429FA231 for ; Fri, 1 Dec 2006 13:47:53 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kB1HlhQH000629; Fri, 1 Dec 2006 12:47:44 -0500 (EST) To: "Rajesh Kumar Mallah" cc: pgsql-sql@postgresql.org Subject: Re: calling elog possibly causing problem in DirectFunctionCall1 In-reply-to: References: Comments: In-reply-to "Rajesh Kumar Mallah" message dated "Fri, 01 Dec 2006 22:10:50 +0530" Date: Fri, 01 Dec 2006 12:47:43 -0500 Message-ID: <628.1164995263@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/11 X-Sequence-Number: 26967 "Rajesh Kumar Mallah" writes: > data->time_stamp = > DirectFunctionCall1(timestamptz_in, CStringGetDatum("now")); This code is incorrect, as timestamptz_in takes three arguments. regards, tom lane