{"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","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"],"signature":"pg_get_functiondef ( func oid ) → text","signature_count":1,"slug":"pg-get-functiondef","source_rev":"b7bd9cda","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":"b7bd9cda","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":"","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":"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":"","description_zh_html":"","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-CATALOG-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-get-functiondef","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_get_functiondef","Summary":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的CREATE OR REPLACE FUNCTION或CREATE OR REPLACE PROCEDURE语句。","BodyHTML":"重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的\u003ccode\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e或\u003ccode\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e语句。\u003cpre\u003epg_get_functiondef ( func oid ) → text\u003c/pre\u003e重建函数或过程的创建命令。（这是反编译重建的结果，并非命令的原始文本。）结果是一条完整的\u003ccode\u003eCREATE OR REPLACE FUNCTION\u003c/code\u003e或\u003ccode\u003eCREATE OR REPLACE PROCEDURE\u003c/code\u003e语句。","SourceRevision":"ca936764","ContentHash":"c3983ce915234a1923406c8b7a506e0fd9582f5de5bac48a32cedf01980bd317","Payload":{"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语句。","signatures":[{"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语句。","returns":"text","text":"pg_get_functiondef ( func oid ) → text","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"","description_zh_html":"","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
