Re: ruleutils with pretty-print option

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ruleutils with pretty-print option
Date: 2003-07-27 20:15:10
Message-ID: 4540.1059336910@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-07-27 20:24:19 Re: ruleutils with pretty-print option
Previous Message Bruce Momjian 2003-07-27 20:12:20 Re: Eliminate information_schema from oid2name listing