Re: calling elog possibly causing problem in DirectFunctionCall1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: calling elog possibly causing problem in DirectFunctionCall1
Date: 2006-12-01 17:47:43
Message-ID: 628.1164995263@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com> writes:
> data->time_stamp =
> DirectFunctionCall1(timestamptz_in, CStringGetDatum("now"));

This code is incorrect, as timestamptz_in takes three arguments.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rajesh Kumar Mallah 2006-12-01 17:59:45 Re: calling elog possibly causing problem in DirectFunctionCall1
Previous Message Shane Ambler 2006-12-01 17:06:09 Re: Autovaccum