{"Entry":{"collection":"func","key":"schema-to-xml","name":"schema_to_xml","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":"ff2f2e0005b6421e3fa959216792b26ca7397ca3ce3870204f7bdbd36819d091","first_version":"8.3","group":"xml","group_label":"Xml Functions","groups":["xml"],"imported_at":"2026-09-27T17:57:28.772651+08:00","last_version":"20","name":"schema_to_xml","name_key":"schema_to_xml","position":15008,"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"],"signature":"schema_to_xml ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","signature_count":1,"slug":"schema-to-xml","source_rev":"b7bd9cda","summary":"These functions ignore tables that are not readable by the current user.","summary_zh":""}},"Definition":{"Collection":"func","Key":"schema-to-xml","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"schema-to-xml","SourceRevision":"b7bd9cda","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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-XML-MAPPING","file":"functions-xml.html","slug":"18"},"group":"xml","group_label":"Xml Functions","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":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eschema_to_xml\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 ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-XML-MAPPING","file":"functions-xml.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"schema-to-xml","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"schema_to_xml","Summary":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有USAGE（查找）权限的模式。","BodyHTML":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有\u003ccode\u003eUSAGE\u003c/code\u003e（查找）权限的模式。\u003cpre\u003eschema_to_xml ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml\u003c/pre\u003e这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有\u003ccode\u003eUSAGE\u003c/code\u003e（查找）权限的模式。","SourceRevision":"ca936764","ContentHash":"e72e71ced345a32117fe39a366b7b84619cb7f56f4a50083e1d3bab137fd8076","Payload":{"description_zh":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有USAGE（查找）权限的模式。","description_zh_html":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有\u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e（查找）权限的模式。","signatures":[{"description_zh":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有USAGE（查找）权限的模式。","description_zh_html":"这些函数会忽略当前用户不可读的表。数据库范围的函数还会忽略当前用户没有\u003ccode class=\"literal\"\u003eUSAGE\u003c/code\u003e（查找）权限的模式。","returns":"xml","text":"schema_to_xml ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"1a69fb68f26bfc139c962c4077a9566d1f793f212f6735d58c6a5e6a1de95d1c","Text":"schema_to_xml ( 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":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003eschema_to_xml\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 ( schema name, nulls boolean, tableforest boolean, targetns text ) → xml","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
