Created special PostgreSQL text indexes when unique is True

Refs #19441.