create unique index on partitioned table postgres