Re: ruleutils with pretty-print option - Mailing list pgsql-patches

From Tom Lane
Subject Re: ruleutils with pretty-print option
Date
Msg-id 4540.1059336910@sss.pgh.pa.us
Whole thread Raw
In response to Re: ruleutils with pretty-print option  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: ruleutils with pretty-print option  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom, how do I pass PG_FUNCTION_ARGS to another function, while adding a
> new parameter?

I wouldn't.  Do the PG_GETARGS in the wrapper, and have the called
function take a normal C parameter list.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Eliminate information_schema from oid2name listing
Next
From: Bruce Momjian
Date:
Subject: Re: ruleutils with pretty-print option