Alban =?ISO-8859-1?Q?M=E9dici?= <amedici(at)fr(dot)netcentrex(dot)net> writes:
> extern "C" My_Mem_Macro_Parser_Integer myMethod( int nbFields, int toto
> = -1)
Default parameters are a C++-ism that doesn't exist in C, and certainly
is entirely unknown to CREATE FUNCTION. You'll have to make two
distinct functions if you want to have two calling styles.
regards, tom lane