Add rev_parent_id for PG (bug 15281)