{"Entry":{"collection":"func","key":"xmlcomment","name":"xmlcomment","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":true,"doc_overhaul":false,"from":"9.6","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"10"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"52ba12712f2ca1d44a0304e339b311a1e073e3968f9a70837cdc7b7e94bcd70f","derived_content_hash":"1a7d1e3f96c1b31d3b33ac7f5e496676e161189140b20c878742112edcf9030f","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:0349ee41534deca5d9373aed3e5634c873a820e7c7c40a5d39ce3b72dcd2191d","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.793363+08:00","last_version":"20","name":"xmlcomment","name_key":"xmlcomment","position":15018,"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":"380bf0847409053dcbbe211259d484fc02385f26fbb0bc2486719f9182995c48","repair":"wiki-repair-20261023"},"signature":"xmlcomment ( text ) → xml","signature_count":1,"slug":"xmlcomment","source_rev":"wiki-repair-20261023:0349ee41534deca5d9373aed3e5634c873a820e7c7c40a5d39ce3b72dcd2191d","summary":"The function xmlcomment creates an XML value containing an XML comment with the specified text as content.","summary_zh":""}},"Definition":{"Collection":"func","Key":"xmlcomment","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"xmlcomment","SourceRevision":"wiki-repair-20261023:0349ee41534deca5d9373aed3e5634c873a820e7c7c40a5d39ce3b72dcd2191d","Facts":{"description":"The function xmlcomment creates an XML value containing an XML comment with the specified text as content. The text cannot contain “--” or end with a “-”, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_html":"The function \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e creates an XML value containing an XML comment with the specified text as content. The text cannot contain \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e or end with a \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_zh":"函数 xmlcomment 创建了一个 XML 值，它包含一个使用指定文本作为内容的 XML 注释。该文本不能包含“--”，也不能以“-”结尾，否则该结果的结构不是一个合法的 XML 注释。如果参数为空，结果也为空。","description_zh_html":"函数 \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e 创建了一个 XML 值，它包含一个使用指定文本作为内容的 XML 注释。该文本不能包含\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e，也不能以\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e结尾，否则该结果的结构不是一个合法的 XML 注释。如果参数为空，结果也为空。","doc":{"anchor":"FUNCTIONS-PRODUCING-XML-XMLCOMMENT","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":"The function xmlcomment creates an XML value containing an XML comment with the specified text as content. The text cannot contain “--” or end with a “-”, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_html":"The function \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e creates an XML value containing an XML comment with the specified text as content. The text cannot contain \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e or end with a \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_zh":"函数 xmlcomment 创建了一个 XML 值，它包含一个使用指定文本作为内容的 XML 注释。该文本不能包含“--”，也不能以“-”结尾，否则该结果的结构不是一个合法的 XML 注释。如果参数为空，结果也为空。","description_zh_html":"函数 \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e 创建了一个 XML 值，它包含一个使用指定文本作为内容的 XML 注释。该文本不能包含\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e，也不能以\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e结尾，否则该结果的结构不是一个合法的 XML 注释。如果参数为空，结果也为空。","examples":[],"html":"\u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmlcomment ( 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-PRODUCING-XML-XMLCOMMENT","file":"functions-xml.html","sha256":"01aeb9b85a44b934664d02e73f09eba80ac8da243706dd1ea2b4943d6cf43a31","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"xmlcomment","SourceDatabase":"center","Version":"18","Locale":"en","Title":"xmlcomment","Summary":"The function xmlcomment creates an XML value containing an XML comment with the specified text as content. The text cannot contain “--” or end with a “-”, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","BodyHTML":"The function \u003ccode\u003exmlcomment\u003c/code\u003e creates an XML value containing an XML comment with the specified text as content. The text cannot contain \u003cspan\u003e“\u003cspan\u003e\u003ccode\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e or end with a \u003cspan\u003e“\u003cspan\u003e\u003ccode\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","SourceRevision":"wiki-repair-20261023:0349ee41534deca5d9373aed3e5634c873a820e7c7c40a5d39ce3b72dcd2191d","ContentHash":"a537e429298a87e21bcf5b2a4479ec9fe4e577219279cf240d7fbdce62d594f7","Payload":{"description":"The function xmlcomment creates an XML value containing an XML comment with the specified text as content. The text cannot contain “--” or end with a “-”, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_html":"The function \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e creates an XML value containing an XML comment with the specified text as content. The text cannot contain \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e or end with a \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","signatures":[{"description":"The function xmlcomment creates an XML value containing an XML comment with the specified text as content. The text cannot contain “--” or end with a “-”, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_html":"The function \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e creates an XML value containing an XML comment with the specified text as content. The text cannot contain \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e or end with a \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_zh":"函数 xmlcomment 创建了一个 XML 值，它包含一个使用指定文本作为内容的 XML 注释。该文本不能包含“--”，也不能以“-”结尾，否则该结果的结构不是一个合法的 XML 注释。如果参数为空，结果也为空。","description_zh_html":"函数 \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e 创建了一个 XML 值，它包含一个使用指定文本作为内容的 XML 注释。该文本不能包含\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e，也不能以\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e结尾，否则该结果的结构不是一个合法的 XML 注释。如果参数为空，结果也为空。","examples":[],"html":"\u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmlcomment ( 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":"9687bef2a8e8f08c38b31976773e4e9eba405a43a863d3e233bdc7c83a5cc36d","Text":"xmlcomment ( text ) → xml","Returns":"xml","Payload":{"description":"The function xmlcomment creates an XML value containing an XML comment with the specified text as content. The text cannot contain “--” or end with a “-”, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_html":"The function \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e creates an XML value containing an XML comment with the specified text as content. The text cannot contain \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e or end with a \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e, otherwise the resulting construct would not be a valid XML comment. If the argument is null, the result is null.","description_zh":"函数 xmlcomment 创建了一个 XML 值，它包含一个使用指定文本作为内容的 XML 注释。该文本不能包含“--”，也不能以“-”结尾，否则该结果的结构不是一个合法的 XML 注释。如果参数为空，结果也为空。","description_zh_html":"函数 \u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e 创建了一个 XML 值，它包含一个使用指定文本作为内容的 XML 注释。该文本不能包含\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e--\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e，也不能以\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e\u003ccode class=\"literal\"\u003e-\u003c/code\u003e\u003c/span\u003e”\u003c/span\u003e结尾，否则该结果的结构不是一个合法的 XML 注释。如果参数为空，结果也为空。","examples":[],"html":"\u003ccode class=\"function\"\u003exmlcomment\u003c/code\u003e ( \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003exml\u003c/code\u003e","returns":"xml","text":"xmlcomment ( text ) → xml","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
