Fix function declaration for pg_qualstats_names