Tom Lane <tgl@sss.pgh.pa.us> writes:
> Just make two pg_proc entries that are pointing at two C functions.
> The C functions can call a common subroutine after extracting their
> arguments.
Mmmm, ok, will adapt the idea to the current code, where the extracting
is mingled into the processing. Thanks for the idea, that's much simpler
this way. Cleaner ain't always better :)
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support