{"Entry":{"collection":"func","key":"to-regprocedure","name":"to_regprocedure","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":true,"doc_overhaul":false,"from":"15","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"16"}],"content_hash":"991eedb6b324a96530e8b0d5930fd9a6d806781935fcc1e4bb75bd74fb8b959d","first_version":"9.4","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.365881+08:00","last_version":"20","name":"to_regprocedure","name_key":"to_regprocedure","position":28130,"present_in":["9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"to_regprocedure ( text ) → regprocedure","signature_count":1,"slug":"to-regprocedure","source_rev":"b7bd9cda","summary":"Translates a textual function or procedure name (with argument types) to its OID.","summary_zh":""}},"Definition":{"Collection":"func","Key":"to-regprocedure","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"to-regprocedure","SourceRevision":"b7bd9cda","Facts":{"description":"Translates a textual function or procedure name (with argument types) to its OID. A similar result is obtained by casting the string to type regprocedure (see Section 8.19); however, this function will return NULL rather than throwing an error if the name is not found.","description_html":"Translates a textual function or procedure name (with argument types) to its OID. A similar result is obtained by casting the string to type \u003ccode class=\"type\"\u003eregprocedure\u003c/code\u003e (see \u003ca href=\"/docs/18/datatype-oid.html\" title=\"8.19. Object Identifier Types\"\u003eSection 8.19\u003c/a\u003e); however, this function will return \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e rather than throwing an error if the name is not found.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-CATALOG-TABLE","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Translates a textual function or procedure name (with argument types) to its OID. A similar result is obtained by casting the string to type regprocedure (see Section 8.19); however, this function will return NULL rather than throwing an error if the name is not found.","description_html":"Translates a textual function or procedure name (with argument types) to its OID. A similar result is obtained by casting the string to type \u003ccode class=\"type\"\u003eregprocedure\u003c/code\u003e (see \u003ca href=\"/docs/18/datatype-oid.html\" title=\"8.19. Object Identifier Types\"\u003eSection 8.19\u003c/a\u003e); however, this function will return \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e rather than throwing an error if the name is not found.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eto_regprocedure\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eregprocedure\u003c/code\u003e","returns":"regprocedure","text":"to_regprocedure ( text ) → regprocedure","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-CATALOG-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"to-regprocedure","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"to_regprocedure","Summary":"将文本函数或过程名（带有参数类型）转换为其OID。通过将字符串类型转换为regprocedure可以得到类似的结果（参见第 8.19 节）；但是，如果没有找到名称，这个函数将返回NULL而不会抛出错误。","BodyHTML":"将文本函数或过程名（带有参数类型）转换为其OID。通过将字符串类型转换为\u003ccode\u003eregprocedure\u003c/code\u003e可以得到类似的结果（参见\u003ca href=\"/docs/18/datatype-oid.html\" rel=\"nofollow\"\u003e第 8.19 节\u003c/a\u003e）；但是，如果没有找到名称，这个函数将返回\u003ccode\u003eNULL\u003c/code\u003e而不会抛出错误。\u003cpre\u003eto_regprocedure ( text ) → regprocedure\u003c/pre\u003e将文本函数或过程名（带有参数类型）转换为其OID。通过将字符串类型转换为\u003ccode\u003eregprocedure\u003c/code\u003e可以得到类似的结果（参见\u003ca href=\"/docs/18/datatype-oid.html\" rel=\"nofollow\"\u003e第 8.19 节\u003c/a\u003e）；但是，如果没有找到名称，这个函数将返回\u003ccode\u003eNULL\u003c/code\u003e而不会抛出错误。","SourceRevision":"ca936764","ContentHash":"65e2f4a858e6d12e90b3087f90018d2094957874a15c4ec25fb10838b8d203a2","Payload":{"description_zh":"将文本函数或过程名（带有参数类型）转换为其OID。通过将字符串类型转换为regprocedure可以得到类似的结果（参见第 8.19 节）；但是，如果没有找到名称，这个函数将返回NULL而不会抛出错误。","description_zh_html":"将文本函数或过程名（带有参数类型）转换为其OID。通过将字符串类型转换为\u003ccode class=\"type\"\u003eregprocedure\u003c/code\u003e可以得到类似的结果（参见\u003ca href=\"/docs/18/datatype-oid.html\" title=\"8.19. 对象标识符类型\"\u003e第 8.19 节\u003c/a\u003e）；但是，如果没有找到名称，这个函数将返回\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e而不会抛出错误。","signatures":[{"description_zh":"将文本函数或过程名（带有参数类型）转换为其OID。通过将字符串类型转换为regprocedure可以得到类似的结果（参见第 8.19 节）；但是，如果没有找到名称，这个函数将返回NULL而不会抛出错误。","description_zh_html":"将文本函数或过程名（带有参数类型）转换为其OID。通过将字符串类型转换为\u003ccode class=\"type\"\u003eregprocedure\u003c/code\u003e可以得到类似的结果（参见\u003ca href=\"/docs/18/datatype-oid.html\" title=\"8.19. 对象标识符类型\"\u003e第 8.19 节\u003c/a\u003e）；但是，如果没有找到名称，这个函数将返回\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e而不会抛出错误。","returns":"regprocedure","text":"to_regprocedure ( text ) → regprocedure","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"fecf7b4b57885eaaf3a85ae845d238eeabb3b1f29afc51c3187818eac0224cd3","Text":"to_regprocedure ( text ) → regprocedure","Returns":"regprocedure","Payload":{"description":"Translates a textual function or procedure name (with argument types) to its OID. A similar result is obtained by casting the string to type regprocedure (see Section 8.19); however, this function will return NULL rather than throwing an error if the name is not found.","description_html":"Translates a textual function or procedure name (with argument types) to its OID. A similar result is obtained by casting the string to type \u003ccode class=\"type\"\u003eregprocedure\u003c/code\u003e (see \u003ca href=\"/docs/18/datatype-oid.html\" title=\"8.19. Object Identifier Types\"\u003eSection 8.19\u003c/a\u003e); however, this function will return \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e rather than throwing an error if the name is not found.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eto_regprocedure\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eregprocedure\u003c/code\u003e","returns":"regprocedure","text":"to_regprocedure ( text ) → regprocedure","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
