Adding new sysproc to work with statically defined partition plans