Vitaly Belman <vitalyb(at)gmail(dot)com> writes:
> Failed to check book_picture in table public.books:
> ERROR: function bayes(real, integer, integer, numeric) does not exist
> HINT: No function matches the given name and argument types. You may need to ad
> d explicit type casts.
> CONTEXT: SQL function "bayes_books" during inlining
Can't help you with this when you didn't show us either function.
regards, tom lane