Translates a textual function or procedure name to its OID.
Signatures & examples
to_regproc ( text ) → regproc
Translates 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.Version history 3