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