Add missing pg_dump_stuck function