Re: SETOF function call - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SETOF function call
Date
Msg-id 4739.1113875608@sss.pgh.pa.us
Whole thread Raw
In response to SETOF function call  (Olivier Thauvin <olivier.thauvin@aerov.jussieu.fr>)
Responses Re: SETOF function call
List pgsql-hackers
Olivier Thauvin <olivier.thauvin@aerov.jussieu.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Problem with PITR recovery
Next
From: Philip Yarra
Date:
Subject: Re: SETOF function call