{"Entry":{"collection":"guc","key":"max_function_args","name":"max_function_args","aliases":[],"metadata":{"baseline":false,"boot_human":"Not specified","boot_val":null,"category":"Preset Options","category_zh":"","changed_in":[],"changes":[{"documentation_changed":false,"fields":{},"from":"7.4","status":"added","to":"8.0"},{"documentation_changed":true,"fields":{},"from":"8.0","status":"changed","to":"8.1"},{"documentation_changed":true,"fields":{},"from":"8.1","status":"changed","to":"8.2"}],"content_hash":"4737071d48f3807ed5717826bde752608a7130b0a2c617024892775355c3639e","context":"","default_changed_in":[],"default_history":[{"from":"9.0","to":"19","value":"100"}],"derived_content_hash":"4943e3454e30c03b1c891a3d1a0c37b52681d33d111ebeba87dad7f77494a683","editorial":{"advice":{"olap":"Not tunable. Use max_function_args to verify format, build, or resource assumptions on analytical nodes and keep every read/write candidate compatible.","oltp":"Not tunable. Record max_function_args as a deployment/capability fact; if it is unexpected, fix the binary, initdb, or database-creation process rather than trying SET.","small":"Not tunable. Preserve it in inventory and incident reports; do not custom-build or rebuild merely to change it without a demonstrated compatibility need."},"mechanism":["Shows the maximum number of function arguments. It is read-only and cannot be changed with SET or configuration-file edits.","It exposes the FUNC_MAX_ARGS build constant; changing it requires a compatible custom build, not a configuration edit.","Interpret it with max_identifier_length, max_index_keys, block_size. Applications and operations tooling may read max_function_args for capability or environment detection, but cannot SET it; cross-cluster comparisons must account for build, initdb, and current-database differences."],"pitfalls":["Trying to change read-only max_function_args with SET or a configuration file.","Assuming every cluster, database, or vendor build reports the same value.","Ignoring the value in file-format or feature-compatibility checks.","Treating reported metadata as a performance target instead of an environment fact."],"references":[{"title":"PostgreSQL 19 Beta 4: max_function_args","url":"https://www.postgresql.org/docs/19/runtime-config-preset.html#GUC-MAX-FUNCTION-ARGS"},{"title":"PostgreSQL 19 release notes","url":"https://www.postgresql.org/docs/19/release-19.html"}],"related":["max_identifier_length","max_index_keys","block_size","server_version_num","data_checksums","data_directory_mode"],"summary":"max_function_args — Shows the maximum number of function arguments. Observed in PG9.0–19 Beta 4; its last measured boot default is 100 in PG19 Beta 4, with internal context. This is a beta-snapshot fact and can change before PostgreSQL 19 GA."},"enumvals":[],"first_version":"8.0","group":"Preset Options","group_slug":"preset","imported_at":"2026-09-27T17:57:31.690221+08:00","intro_commit":{},"key":"max_function_args","last_version":"20","max_val":"","min_val":"","name":"max_function_args","position":267,"present_in":["8.0","8.1","8.2","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":"english-manuals:c10dc86d47fece60bb93ff26c08e354fd77a5053e2d0904a8f028335d570de50","receipt_sha256":"deda2110511283b608e58c8710d80640051682d68566faaf6dff70f6dba2217d","repair":"wiki-repair-20261023"},"short_desc":"Reports the maximum number of function arguments.","short_desc_zh":"","source_rev":"wiki-repair-20261023:8f3786f0274dd870c135dd38aa09ac4f0c7f7dc462eb345c36c49096c3b67d35","unit":"","vartype":"integer"}},"Definition":{"Collection":"guc","Key":"max_function_args","SourceDatabase":"center","Version":"18","SourceTable":"guc","SourceKey":"max_function_args","SourceRevision":"wiki-repair-20261023:8f3786f0274dd870c135dd38aa09ac4f0c7f7dc462eb345c36c49096c3b67d35","Facts":{"boot_val":"100","category":"Preset Options","context":"internal","description":"Reports the maximum number of function arguments. It is determined by the value of FUNC_MAX_ARGS when building the server. The default value is 100 arguments.","description_zh":"报告函数参数的最大数量。它由编译服务器时的 FUNC_MAX_ARGS 值决定。默认值是 100 个参数。","description_zh_html":"\u003cp\u003e\n        报告函数参数的最大数量。它由编译服务器时的 \u003ccode class=\"literal\"\u003eFUNC_MAX_ARGS\u003c/code\u003e 值决定。默认值是 100 个参数。\n       \u003c/p\u003e","doc":{"anchor":"GUC-MAX-FUNCTION-ARGS","file":"runtime-config-preset.html","lang":"en","sha256":"4dbfec727b9cee838adefb8a766217748d91ab90190b452a58cec737459582ce","slug":"18"},"documented":true,"enumvals":null,"extra_desc":null,"lang":"en","max_val":"100","metadata_version":"18","min_val":"100","name":"max_function_args","short_desc":"Shows the maximum number of function arguments.","source":"pg-settings-source-snapshot","translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/runtime-config-preset.html","sha256":"d0e95b9a81d5fdf853df26eba7dc096d96b9b45dadda13e0d0353aa72ac7a7b9"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"unit":null,"vartype":"integer","zh_from":"same-version-pgdoc"},"ManualEvidence":{"doc":{"anchor":"GUC-MAX-FUNCTION-ARGS","file":"runtime-config-preset.html","lang":"en","sha256":"4dbfec727b9cee838adefb8a766217748d91ab90190b452a58cec737459582ce","slug":"18"}},"MeasuredEvidence":{"metadata_version":"18"}},"Text":{"Collection":"guc","Key":"max_function_args","SourceDatabase":"center","Version":"18","Locale":"en","Title":"max_function_args","Summary":"Reports the maximum number of function arguments. It is determined by the value of FUNC_MAX_ARGS when building the server. The default value is 100 arguments.","BodyHTML":"\u003cp\u003eReports the maximum number of function arguments. It is determined by the value of FUNC_MAX_ARGS when building the server. The default value is 100 arguments.\u003c/p\u003e","SourceRevision":"wiki-repair-20261023:8f3786f0274dd870c135dd38aa09ac4f0c7f7dc462eb345c36c49096c3b67d35","ContentHash":"7b5066c36c4f8dab909fca6f27f1afe0019b72e28289e16972720c79e8fdcd20","Payload":{"description":"Reports the maximum number of function arguments. It is determined by the value of FUNC_MAX_ARGS when building the server. The default value is 100 arguments."}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
