Add pg_partition_root to get top-most parent of a partition tree

Add pg_partition_root to get top-most parent of a partition tree

Edit