{"Entry":{"collection":"guc","key":"composite_type_mismatch","name":"composite_type_mismatch","aliases":[],"metadata":{"baseline":false,"boot_human":"error","boot_val":"error","category":"Developer Options","category_zh":"开发者选项","changed_in":[],"changes":[],"content_hash":"59fcd7fdd688d0d22a6eff39351b3f2e4c8fb9a7a8cffa145e4683a47ced95bd","context":"superuser","default_changed_in":[],"default_history":[],"derived_content_hash":"89f36de948e16d9c29716f44ee20a32a38693a220ee0bc3d6242fdf2a7b5f742","editorial":{},"enumvals":["error","warn","disabled"],"first_version":"14","group":"Developer Options","group_slug":"developer","intro_commit":{},"key":"composite_type_mismatch","known_present_by":"14.25","last_version":"19","max_val":"","min_val":"","name":"composite_type_mismatch","position":150020,"present_in":["14","15","16","17","18","19"],"release_boundaries":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"},"runtime_verified":false,"short_desc":"Sets how version mismatches of composite values are handled.","short_desc_zh":"设置如何处理复合类型数据的版本不匹配。","source_rev":"docs-refresh-20261113:release-source","unit":"","vartype":"enum"}},"Definition":{"Collection":"guc","Key":"composite_type_mismatch","SourceDatabase":"center","Version":"18","SourceTable":"guc","SourceKey":"composite_type_mismatch","SourceRevision":"docs-refresh-20261113:release-source","Facts":{"boot_val":"error","carried_from":"","carry_reason":"","category":"Developer Options","category_zh":"开发者选项","context":"superuser","description":"Reading a composite value whose row type was altered in an incompatible way after the value was created normally causes PostgreSQL to report an error. This parameter controls that behavior. With the default, error, an error is reported, aborting the current transaction. With warn, the system warns about mismatches but allows execution to continue. With disabled, the check is not performed at all. Settings other than error may cause crashes, wrong results, or other serious problems. Only superusers and users with the appropriate SET privilege can change this setting.","description_zh":"如果一个复合值的行类型在该值创建后发生了不兼容的修改，读取该值通常会使 PostgreSQL 报错。这个参数控制此行为。默认值 error 会报告错误并中止当前事务。设置为 warn 时，系统会就不匹配情况发出警告，但允许继续执行。设置为 disabled 时，完全不执行此项检查。 error 以外的设置可能导致崩溃、错误结果或其他严重问题。只有超级用户和具有相应 SET 权限的用户才能修改此设置。","description_zh_html":"\u003cp\u003e\n        如果一个复合值的行类型在该值创建后发生了不兼容的修改，读取该值通常会使 \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e 报错。这个参数控制此行为。默认值 \u003ccode class=\"literal\"\u003eerror\u003c/code\u003e 会报告错误并中止当前事务。设置为 \u003ccode class=\"literal\"\u003ewarn\u003c/code\u003e 时，系统会就不匹配情况发出警告，但允许继续执行。设置为 \u003ccode class=\"literal\"\u003edisabled\u003c/code\u003e 时，完全不执行此项检查。\n       \u003c/p\u003e\u003cp\u003e\n\u003ccode class=\"literal\"\u003eerror\u003c/code\u003e 以外的设置可能\u003cspan class=\"emphasis\"\u003e\u003cem\u003e导致崩溃、错误结果或其他严重问题\u003c/em\u003e\u003c/span\u003e。只有超级用户和具有相应 \u003ccode class=\"literal\"\u003eSET\u003c/code\u003e 权限的用户才能修改此设置。\n       \u003c/p\u003e","doc":{"anchor":"GUC-COMPOSITE-TYPE-MISMATCH","file":"runtime-config-developer.html","lang":"en","sha256":"a3f6a107ed6ba4edaf6df03e52f4a469bd09350d545e4ff419e62844025ec1cf","slug":"18"},"doc_html":"\u003cp\u003e\n        Reading a composite value whose row type was altered in an\n        incompatible way after the value was created normally causes\n        \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e to report an error.\n        This parameter controls that behavior.  With the default,\n        \u003ccode class=\"literal\"\u003eerror\u003c/code\u003e, an error is reported, aborting the current\n        transaction.  With \u003ccode class=\"literal\"\u003ewarn\u003c/code\u003e, the system warns about\n        mismatches but allows execution to continue.  With\n        \u003ccode class=\"literal\"\u003edisabled\u003c/code\u003e, the check is not performed at all.\n       \u003c/p\u003e\u003cp\u003e\n        Settings other than \u003ccode class=\"literal\"\u003eerror\u003c/code\u003e may \u003cspan class=\"emphasis\"\u003e\u003cem\u003ecause\n        crashes, wrong results, or other serious problems\u003c/em\u003e\u003c/span\u003e.\n        Only superusers and users with the appropriate \u003ccode class=\"literal\"\u003eSET\u003c/code\u003e\n        privilege can change this setting.\n       \u003c/p\u003e","doc_same_as":"","documentation_revision":{"inputs":[{"file":"runtime-config-developer.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"a3f6a107ed6ba4edaf6df03e52f4a469bd09350d545e4ff419e62844025ec1cf","version":"18.7"},{"file":"runtime-config-developer.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"e7e22aa5738a1d376b84af1adca796c5e14746266733f925eb50c3ef86a50655","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"documented":true,"enumvals":["error","warn","disabled"],"extra_desc":"","human":"error","lang":"en","max_val":null,"metadata_version":"18.7","min_val":null,"minimum_minor":"18.7","name":"composite_type_mismatch","runtime_verified":false,"setting":null,"short_desc":"Sets how version mismatches of composite values are handled.","source":"verified-release-source-and-manual","source_evidence":[{"file":"src/backend/utils/misc/guc_tables.c","release":"18.7","sha256":"a234f611380b4ac8c45a685257f138cb4fa08e5fc3cdb59f686b90b7b858fa7c"}],"unit":"","vartype":"enum","zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"GUC-COMPOSITE-TYPE-MISMATCH","file":"runtime-config-developer.html","lang":"en","sha256":"a3f6a107ed6ba4edaf6df03e52f4a469bd09350d545e4ff419e62844025ec1cf","slug":"18"}},"MeasuredEvidence":{"metadata_version":"18.7","runtime_verified":false}},"Text":{"Collection":"guc","Key":"composite_type_mismatch","SourceDatabase":"center","Version":"18","Locale":"en","Title":"composite_type_mismatch","Summary":"Reading a composite value whose row type was altered in an incompatible way after the value was created normally causes PostgreSQL to report an error. This parameter controls that behavior. With the default, error, an error is reported, aborting the current transaction. With warn, the system warns about mismatches but allows execution to continue. With disabled, the check is not performed at all. Settings other than error may cause crashes, wrong results, or other serious problems. Only superusers and users with the appropriate SET privilege can change this setting.","BodyHTML":"\u003cp\u003e\n        Reading a composite value whose row type was altered in an\n        incompatible way after the value was created normally causes\n        \u003cspan\u003ePostgreSQL\u003c/span\u003e to report an error.\n        This parameter controls that behavior.  With the default,\n        \u003ccode\u003eerror\u003c/code\u003e, an error is reported, aborting the current\n        transaction.  With \u003ccode\u003ewarn\u003c/code\u003e, the system warns about\n        mismatches but allows execution to continue.  With\n        \u003ccode\u003edisabled\u003c/code\u003e, the check is not performed at all.\n       \u003c/p\u003e\u003cp\u003e\n        Settings other than \u003ccode\u003eerror\u003c/code\u003e may \u003cspan\u003e\u003cem\u003ecause\n        crashes, wrong results, or other serious problems\u003c/em\u003e\u003c/span\u003e.\n        Only superusers and users with the appropriate \u003ccode\u003eSET\u003c/code\u003e\n        privilege can change this setting.\n       \u003c/p\u003e","SourceRevision":"docs-refresh-20261113:release-source","ContentHash":"6c26db76885c8a751877476f991095e931b122d20d1cc0d563a4bb81351c93ea","Payload":{"description":"Reading a composite value whose row type was altered in an incompatible way after the value was created normally causes PostgreSQL to report an error. This parameter controls that behavior. With the default, error, an error is reported, aborting the current transaction. With warn, the system warns about mismatches but allows execution to continue. With disabled, the check is not performed at all. Settings other than error may cause crashes, wrong results, or other serious problems. Only superusers and users with the appropriate SET privilege can change this setting."}},"RequestedLocale":"en","Fallback":false,"Versions":["14","15","16","17","18","19"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
