intmail01 <intmail01@gmail.com> writes:
> I have several schemas in my database, I want to create just one function
> to use with all these schema.
> I create the function in a main schema then the trigger call the function
> and error occurs : "No function matches the given name and argument types.
> You might need to add explicit type casts."
You can either explicitly schema-qualify the function call, or make
sure that that main schema is always present in your search_path.
regards, tom lane