{"Entry":{"collection":"func","key":"pg-get-functiondef","name":"pg_get_functiondef","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.4"},{"descriptions_changed":true,"doc_overhaul":false,"from":"10","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"11"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"47f8679c9637c7332f041a789ac2c9cf4ba201deec85dbba396908cead084d15","derived_content_hash":"f6efc446c7341be86d780412eee94aea139a755b88b84b0ce02dd982a0efa42c","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:d3696f0660e871f723a8b7c07a162f184b386ecc52343b421e3e6ade060aa4ee","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.4","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.181471+08:00","last_version":"20","name":"pg_get_functiondef","name_key":"pg_get_functiondef","position":28060,"present_in":["8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:d65bf63066f36e9dd4d5a45caad0ef80eea056d599228261a7f030ba469c88cf","receipt_sha256":"93493316cae59501e02b5c197bb5cc09b45c85748507974c40702fd321e80fed","repair":"wiki-repair-20261023"},"signature":"pg_get_functiondef ( func oid ) → text","signature_count":1,"slug":"pg-get-functiondef","source_rev":"wiki-repair-20261023:d3696f0660e871f723a8b7c07a162f184b386ecc52343b421e3e6ade060aa4ee","summary":"Reconstructs the creating command for a function or procedure.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-get-functiondef","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-get-functiondef","SourceRevision":"wiki-repair-20261023:d3696f0660e871f723a8b7c07a162f184b386ecc52343b421e3e6ade060aa4ee","Facts":{"description":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete CREATE OR REPLACE FUNCTION or CREATE OR REPLACE PROCEDURE statement.","description_html":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e or \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e statement.","description_zh":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的 CREATE OR REPLACE FUNCTION 或 CREATE OR REPLACE PROCEDURE 语句。","description_zh_html":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的 \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e 或 \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\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":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete CREATE OR REPLACE FUNCTION or CREATE OR REPLACE PROCEDURE statement.","description_html":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e or \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e statement.","description_zh":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的 CREATE OR REPLACE FUNCTION 或 CREATE OR REPLACE PROCEDURE 语句。","description_zh_html":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的 \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e 或 \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e 语句。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_get_functiondef\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003efunc\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"pg_get_functiondef ( func oid ) → text","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":"pg-get-functiondef","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_get_functiondef","Summary":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete CREATE OR REPLACE FUNCTION or CREATE OR REPLACE PROCEDURE statement.","BodyHTML":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete \u003ccode\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e or \u003ccode\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e statement.","SourceRevision":"wiki-repair-20261023:d3696f0660e871f723a8b7c07a162f184b386ecc52343b421e3e6ade060aa4ee","ContentHash":"15aca100813dcf1dc7ef48b3f71e2dc457187994446401017fb9ffab7e1b1a51","Payload":{"description":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete CREATE OR REPLACE FUNCTION or CREATE OR REPLACE PROCEDURE statement.","description_html":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e or \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e statement.","signatures":[{"description":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete CREATE OR REPLACE FUNCTION or CREATE OR REPLACE PROCEDURE statement.","description_html":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e or \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e statement.","description_zh":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的 CREATE OR REPLACE FUNCTION 或 CREATE OR REPLACE PROCEDURE 语句。","description_zh_html":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的 \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e 或 \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e 语句。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_get_functiondef\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003efunc\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"pg_get_functiondef ( func oid ) → text","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"a91dca12cd744e2bb851750c52e68811e114154954cd16dc3a096c4ba7625bd4","Text":"pg_get_functiondef ( func oid ) → text","Returns":"text","Payload":{"description":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete CREATE OR REPLACE FUNCTION or CREATE OR REPLACE PROCEDURE statement.","description_html":"Reconstructs the creating command for a function or procedure. (This is a decompiled reconstruction, not the original text of the command.) The result is a complete \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e or \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e statement.","description_zh":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的 CREATE OR REPLACE FUNCTION 或 CREATE OR REPLACE PROCEDURE 语句。","description_zh_html":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的 \u003ccode class=\"command\"\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e 或 \u003ccode class=\"command\"\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e 语句。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_get_functiondef\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003efunc\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"pg_get_functiondef ( func oid ) → text","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
