{"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","derived_content_hash":"4f8971f7a6244e2a475f3ebc6984fafc5888f08eeb36ecd7ca461b7831d92ad2","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:8e98473493fd32ed14b52dee9099d4276ef8a61e9993d53aba7754a2c75cb3f4","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"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"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"7c7f50535b3b273fe6f408003bdaeb8b9bf4fd3ed115efb702f4c500b22a1ed2","repair":"wiki-repair-20261023"},"signature":"to_regprocedure ( text ) → regprocedure","signature_count":1,"slug":"to-regprocedure","source_rev":"wiki-repair-20261023:8e98473493fd32ed14b52dee9099d4276ef8a61e9993d53aba7754a2c75cb3f4","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":"wiki-repair-20261023:8e98473493fd32ed14b52dee9099d4276ef8a61e9993d53aba7754a2c75cb3f4","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":"将文本函数或过程名（带有参数类型）转换为其 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 而不会抛出错误。","doc":{"anchor":"FUNCTIONS-INFO-CATALOG-TABLE","file":"functions-info.html","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-info.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","version":"18.7"},{"file":"functions-info.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"f9684137c0b9fb17a691c4d905529d114472a507a007c15058f2703962b611d2","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"info","group_label":"系统信息函数和操作符","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":"将文本函数或过程名（带有参数类型）转换为其 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 而不会抛出错误。","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":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-info.html","sha256":"7c33185e79430cfbda432dc4db277115c7ac846afccadfcf904ceb1bf2aa1ba5"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-CATALOG-TABLE","file":"functions-info.html","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"to-regprocedure","SourceDatabase":"center","Version":"18","Locale":"en","Title":"to_regprocedure","Summary":"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.","BodyHTML":"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\u003eregprocedure\u003c/code\u003e (see \u003ca href=\"/docs/18/datatype-oid.html\" rel=\"nofollow\"\u003eSection 8.19\u003c/a\u003e); however, this function will return \u003ccode\u003eNULL\u003c/code\u003e rather than throwing an error if the name is not found.","SourceRevision":"wiki-repair-20261023:8e98473493fd32ed14b52dee9099d4276ef8a61e9993d53aba7754a2c75cb3f4","ContentHash":"a909c2ec9001efa6f89649c130236ec67d99ed7134c429ef879e6d5957bb79f4","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.","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":"将文本函数或过程名（带有参数类型）转换为其 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 而不会抛出错误。","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":"same-version-manual"}]}},"RequestedLocale":"en","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":"将文本函数或过程名（带有参数类型）转换为其 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 而不会抛出错误。","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":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
