Wiki / Configuration Parameters
xmloption
Sets whether DOCUMENT or CONTENT is implicit when converting between XML and character string values. See Section 8.13 for a description of this. Valid values are DOCUMENT and CONTENT. The default is CONTENT. According to the SQL standard, the command to set this option is SET XML OPTION { DOCUMENT | CONTENT }; This syntax is also available in PostgreSQL.
English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- boot val
- content
- category
- Client Connection Defaults / Statement Behavior
- context
- user
- documented
- true
- enumvals
- content, document
- extra desc
- Unknown
- lang
- en
- max val
- Unknown
- metadata version
- 18
- min val
- Unknown
- name
- xmloption
- short desc
- Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.
- source
- pg-settings-source-snapshot
- unit
- Unknown
- vartype
- enum
Definition PG 18
Sets whether DOCUMENT or CONTENT is implicit when converting between XML and character string values. See Section 8.13 for a description of this. Valid values are DOCUMENT and CONTENT. The default is CONTENT. According to the SQL standard, the command to set this option is SET XML OPTION { DOCUMENT | CONTENT }; This syntax is also available in PostgreSQL.
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:f9a604b10b134abfcb80cf14c52954e441ce18ad31925e1122a7cb51fd5719df
Text language: en · wiki-repair-20261023:f9a604b10b134abfcb80cf14c52954e441ce18ad31925e1122a7cb51fd5719df