Re: ruleutils with pretty-print option

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: ruleutils with pretty-print option
Дата
Msg-id 200307272024.h6RKOJ719890@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: ruleutils with pretty-print option  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ruleutils with pretty-print option  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ruleutils with pretty-print option
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: ruleutils with pretty-print option