Re: SETOF function call

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Olivier Thauvin <olivier(dot)thauvin(at)aerov(dot)jussieu(dot)fr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: SETOF function call
Date: 2005-04-19 01:53:28
Message-ID: 4739.1113875608@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Olivier Thauvin <olivier(dot)thauvin(at)aerov(dot)jussieu(dot)fr> writes:
> Datum
> header_querytxt(PG_FUNCTION_ARGS)
> {
> elog(NOTICE, "querytxt");
> Datum tag;
> /* converting TEXT value to integer one */
> tag = DirectFunctionCall1(rpmtagvalue, PG_GETARG_TEXT_P(1));
> elog(NOTICE, "querytxt %d", tag);
> /* header_query = function accepting integer instead text)
> PG_RETURN_POINTER(DirectFunctionCall2(header_query,
> PG_GETARG_BYTEA_P_COPY(0), tag));
> }

If that's a cut-and-paste, then you seem to be short a */ on the second
comment ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-04-19 01:53:38 Re: [WIP] shared locks
Previous Message Bruce Momjian 2005-04-19 01:39:25 Re: Problem with PITR recovery