to_regcollation ( text ) → regcollationTranslates a textual collation name to its OID. A similar result is obtained by casting the string to type
regcollation (see Section 8.19); however, this function will return NULL rather than throwing an error if the name is not found.