{"Entry":{"collection":"func","key":"schema-to-xml-and-xmlschema","name":"schema_to_xml_and_xmlschema","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.3"},{"descriptions_changed":true,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"34abf6c9b2a8360919664fe9a381035c9dcb2de380787d985ae0946dc39bb02e","derived_content_hash":"76c564508e4089b4733bc4b742257548478c02ddc6a1e8e3ffd146866c5c8801","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:d07925743295055931159f275fb5ba0a509945457db7c54b381a97edfa0cd70f","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.3","group":"xml","group_label":"Xml Functions","groups":["xml"],"imported_at":"2026-09-27T17:57:28.775372+08:00","last_version":"20","name":"schema_to_xml_and_xmlschema","name_key":"schema_to_xml_and_xmlschema","position":15009,"present_in":["8.3","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":"b7bd9cda","receipt_sha256":"ba05b6f53a9454f669f9d3fdbd5e30afc8f15b2ff782cfeca40483ae547f87cc","repair":"wiki-repair-20261023"},"signature":"schema_to_xml_and_xmlschema ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","signature_count":1,"slug":"schema-to-xml-and-xmlschema","source_rev":"wiki-repair-20261023:d07925743295055931159f275fb5ba0a509945457db7c54b381a97edfa0cd70f","summary":"These functions ignore tables that are not readable by the current user.","summary_zh":""}},"Definition":{"Collection":"func","Key":"schema-to-xml-and-xmlschema","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"schema-to-xml-and-xmlschema","SourceRevision":"wiki-repair-20261023:d07925743295055931159f275fb5ba0a509945457db7c54b381a97edfa0cd70f","Facts":{"description":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have USAGE (lookup) privilege for.","description_html":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e (lookup) privilege for.","description_zh":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有 USAGE（查找）权限的模式。","description_zh_html":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有 \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e（查找）权限的模式。","doc":{"anchor":"FUNCTIONS-XML-MAPPING","file":"functions-xml.html","sha256":"01aeb9b85a44b934664d02e73f09eba80ac8da243706dd1ea2b4943d6cf43a31","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-xml.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"01aeb9b85a44b934664d02e73f09eba80ac8da243706dd1ea2b4943d6cf43a31","version":"18.7"},{"file":"functions-xml.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"7f81f95d894b56436ba5c9f248999c6f79a15eff2f8e02803e9578894005ba44","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"xml","group_label":"XML 函数","lang":"en","layout":"table-new","pages":["functions-xml.html"],"prose_only":false,"signatures":[{"description":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have USAGE (lookup) privilege for.","description_html":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e (lookup) privilege for.","description_zh":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有 USAGE（查找）权限的模式。","description_zh_html":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有 \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e（查找）权限的模式。","examples":[],"html":"\u003ccode class=\"function\"\u003eschema_to_xml_and_xmlschema\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eschema\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ename\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003enulls\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etableforest\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etargetns\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"schema_to_xml_and_xmlschema ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-xml.html","sha256":"fecb5d8486a96d59e4b5808eeaa769d216ab3be80602eb0c73702f28dd37388c"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-XML-MAPPING","file":"functions-xml.html","sha256":"01aeb9b85a44b934664d02e73f09eba80ac8da243706dd1ea2b4943d6cf43a31","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"schema-to-xml-and-xmlschema","SourceDatabase":"center","Version":"18","Locale":"en","Title":"schema_to_xml_and_xmlschema","Summary":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have USAGE (lookup) privilege for.","BodyHTML":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have \u003ccode\u003eUSAGE\u003c/code\u003e (lookup) privilege for.","SourceRevision":"wiki-repair-20261023:d07925743295055931159f275fb5ba0a509945457db7c54b381a97edfa0cd70f","ContentHash":"3dbc202e783972560bed6518193dfe24bbb57a76ed37ce75317a6d86f70578f6","Payload":{"description":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have USAGE (lookup) privilege for.","description_html":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e (lookup) privilege for.","signatures":[{"description":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have USAGE (lookup) privilege for.","description_html":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e (lookup) privilege for.","description_zh":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有 USAGE（查找）权限的模式。","description_zh_html":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有 \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e（查找）权限的模式。","examples":[],"html":"\u003ccode class=\"function\"\u003eschema_to_xml_and_xmlschema\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eschema\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ename\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003enulls\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etableforest\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etargetns\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"schema_to_xml_and_xmlschema ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.3","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":"7c738f11f688a6717deb95611ce9e78ec41e6c826586266dc8fe316bc30a9571","Text":"schema_to_xml_and_xmlschema ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","Returns":"xml","Payload":{"description":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have USAGE (lookup) privilege for.","description_html":"These functions ignore tables that are not readable by the current user. The database-wide functions additionally ignore schemas that the current user does not have \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e (lookup) privilege for.","description_zh":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有 USAGE（查找）权限的模式。","description_zh_html":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有 \u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e（查找）权限的模式。","examples":[],"html":"\u003ccode class=\"function\"\u003eschema_to_xml_and_xmlschema\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eschema\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ename\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003enulls\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etableforest\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etargetns\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"schema_to_xml_and_xmlschema ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
