Re: [ADMIN] Actual function name

2003-09-25 Thread Gaetano Mendola
Peter Eisentraut wrote: > Gaetano Mendola writes: > > >>is there a way to know the name of current function, >>somethink like $0 for a shell script ? > > > In a C function, you can get the OID of the function from > fcinfo->flinfo->fn_oid. From that you can get the name and the argument > types.

Re: [ADMIN] Actual function name

2003-09-25 Thread Peter Eisentraut
Gaetano Mendola writes: > is there a way to know the name of current function, > somethink like $0 for a shell script ? In a C function, you can get the OID of the function from fcinfo->flinfo->fn_oid. From that you can get the name and the argument types. -- Peter Eisentraut [EMAIL PROTECTE