check_pgsql: Add missing printf(3) argument