move PKDupSet to cursor.h, it will come in handy