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