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

From Bruce Momjian
Subject Re: ruleutils with pretty-print option
Date
Msg-id 200307272024.h6RKOJ719890@candle.pha.pa.us
Whole thread Raw
In response to Re: ruleutils with pretty-print option  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ruleutils with pretty-print option
List pgsql-patches
Tom Lane wrote:
> 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.

So I need to wrappers for each function, one that pulls the pretty print
option, and another that doesn't, and they both call a normal C function?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: ruleutils with pretty-print option
Next
From: Andreas Pflug
Date:
Subject: Re: ruleutils with pretty-print option