improve function table reference detection for pgsql8 to disable check_function_bodies