你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

自定义选项

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_parameter_max_length

Attribute 价值
类别 自定义选项
Description 设置要记录的查询参数的最大长度。 零日志没有查询参数,-1 完整记录这些参数。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_parameter_max_length

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 由服务器接受的密码身份验证方法(用逗号分隔)。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 快照数据文件的缓冲区大小(以兆字节为单位)。 这些缓冲区用于写入快照数据。 虽然这间接影响文件大小,但由于压缩和其他因素,实际文件大小可能更小。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 将临时对象存储在本地固态磁盘上。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 允许名单中的扩展列表,用逗号分隔。 如果扩展不在此列表中,则尝试在该扩展上执行 CREATE、ALTER、COMMENT、DROP EXTENSION 语句失败。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,anon,azure_storage,bloom,btree_gin,btree_gist,citext,credcheck,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,ip4r,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_duckdb,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tdigest,tds_fdw,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 验证Fabric Mirroring正常运行的先决条件。 仅当此设置从“off”更改为“on”时,才会进行验证。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation azure.fabric_mirror_enabled

credcheck.auth_delay_ms

Attribute 价值
类别 自定义选项
Description 报告身份验证失败前延迟的毫秒数。
数据类型 整数
默认值 0
允许的值 0-2147483
参数类型 dynamic
Documentation credcheck.auth_delay_ms

credcheck.auth_failure_cache_size

Attribute 价值
类别 自定义选项
Description 身份验证失败缓存中的最大条目数。
数据类型 整数
默认值 1024
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.auth_failure_cache_size

credcheck.encrypted_password_allowed

Attribute 价值
类别 自定义选项
Description 系统允许使用加密密码,否则抛出错误。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.encrypted_password_allowed

credcheck.history_max_size

Attribute 价值
类别 自定义选项
Description 密码历史记录中的最大条目数。
数据类型 整数
默认值 65535
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.history_max_size

credcheck.max_auth_failure

Attribute 价值
类别 自定义选项
Description 用户登录帐户失效之前的最大身份验证失败次数。
数据类型 整数
默认值 0
允许的值 0-64
参数类型 dynamic
Documentation credcheck.max_auth_failure

credcheck.no_password_logging (凭证检查.不记录密码)

Attribute 价值
类别 自定义选项
Description 防止在记录的错误消息中公开密码。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.no_password_logging

credcheck.password_contain

Attribute 价值
类别 自定义选项
Description 密码应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_contain

credcheck.密码包含用户名

Attribute 价值
类别 自定义选项
Description 密码包含用户名
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.密码包含用户名

credcheck.password_ignore_case

Attribute 价值
类别 自定义选项
Description 在密码检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.password_ignore_case

credcheck.password_min_digit

Attribute 价值
类别 自定义选项
Description 最小密码位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_digit

credcheck.密码_最小长度

Attribute 价值
类别 自定义选项
Description 最短密码长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.password_min_length

credcheck.password_min_lower

Attribute 价值
类别 自定义选项
Description 最小密码小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_lower

credcheck.密码_最小重复

Attribute 价值
类别 自定义选项
Description 最小密码字符重复次数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_repeat

credcheck.password_min_special

Attribute 价值
类别 自定义选项
Description 最小特殊字符
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_special

credcheck.password_min_upper

Attribute 价值
类别 自定义选项
Description 密码中大写字母的最小数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_upper

credcheck.password_not_contain

Attribute 价值
类别 自定义选项
Description 密码不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_not_contain

凭证检查.密码重用历史

Attribute 价值
类别 自定义选项
Description 允许重用密码前的最小更改次数
数据类型 整数
默认值 0
允许的值 0-100
参数类型 dynamic
Documentation credcheck.password_reuse_history

credcheck.password_reuse_interval(密码重用间隔)

Attribute 价值
类别 自定义选项
Description 允许重用之前经过的最短天数
数据类型 整数
默认值 0
允许的值 0-730
参数类型 dynamic
Documentation credcheck.password_reuse_interval

credcheck.password_valid_max

Attribute 价值
类别 自定义选项
Description 强制在 CREATE ROLE 语句中使用 VALID UNTIL 子句,并设定天数上限
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_max

credcheck.password_有效期至

Attribute 价值
类别 自定义选项
Description 在 CREATE ROLE 语句中必须使用 VALID UNTIL 子句,并设定一个最低天数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_until 密码有效期检查

credcheck.reset_superuser

Attribute 价值
类别 自定义选项
Description 在被禁止时还原超级用户访问权限。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation credcheck.reset_superuser

credcheck.username_contain

Attribute 价值
类别 自定义选项
Description 用户名应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_contain

credcheck.username_contain_password

Attribute 价值
类别 自定义选项
Description 用户名包含密码
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_contain_password

credcheck.username_ignore_case

Attribute 价值
类别 自定义选项
Description 在用户名检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_ignore_case

credcheck.username_min_digit

Attribute 价值
类别 自定义选项
Description 最小用户名位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_digit

credcheck.用户名最小长度

Attribute 价值
类别 自定义选项
Description 最小用户名长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.username_min_length

credcheck.username_min_lower

Attribute 价值
类别 自定义选项
Description 最小用户名小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_lower

credcheck.username_min_repeat

Attribute 价值
类别 自定义选项
Description 用户名字符的最小重复次数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_repeat

credcheck.username_min_special

Attribute 价值
类别 自定义选项
Description 最少用户名特殊字符数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_special

credcheck.username_min_upper

Attribute 价值
类别 自定义选项
Description 用户名中必须包含的最小大写字母数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_upper

credcheck.username_not_contain

Attribute 价值
类别 自定义选项
Description 用户名不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_not_contain

credcheck.白名单

Attribute 价值
类别 自定义选项
Description 要从密码策略检查中排除的用户名的逗号分隔列表。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist

credcheck.whitelist_auth_failure

Attribute 价值
类别 自定义选项
Description 以逗号分隔的用户列表,用于指定不计入最大登录失败次数的用户名。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist_auth_failure

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 用于存储pg_cron元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 可并发运行的最大作业数。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 4096
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 4096
允许的值 1024-688128
参数类型 静态的
Documentation duckdb.memory_limit

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用 Microsoft Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。 可以使用逗号分隔的列表来提供多个类,并且可以通过用 - 符号开头来减去类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。 禁用此设置将减少来自大量查询目录的工具(如 psql 和 PgAdmin)的日志中的干扰。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。 此设置通常应处于禁用状态,但对于调试或其他目的可能很有用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。 此设置用于回归测试,也可用于最终用户进行测试或其他目的。 它不应在生产环境中使用,因为它可能会泄露正在记录的语句给用户。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。 如果存在参数,这些参数将包含在语句文本之后的 CSV 格式。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_parameter_max_size

Attribute 价值
类别 自定义选项
Description 指定要记录的可变长度参数的最大长度(以字节为单位)。 如果为 0(默认值),则不会检查参数的大小。 如果设置,当参数的大小超过设置时,审核日志中的值将替换为占位符。 请注意,对于字符类型,参数编码的长度为字节,而不是字符。
数据类型 整数
默认值 0
允许的值 0-1073741823
参数类型 dynamic
Documentation pgaudit.log_parameter_max_size

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。 这是一种在不使用对象审核日志记录的情况下实现全面日志记录的有用快捷方式。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。 禁用此设置将导致日志详细程度降低,但可能更难以确定生成日志条目的语句。不过,语句/子语句对以及进程 ID 应该足以识别与先前记录一起的语句文本。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。 可以通过将权限授予主角色,来定义多个审核角色。 这样,多个组就可以负责审核日志记录的不同方面。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

Attribute 价值
类别 自定义选项
Description 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 dynamic
Documentation pglogical.conflict_log_level

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置采样等待事件的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 可以选择由该扩展跟踪的等待事件类型。 需要重新加载配置以使更改生效。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 是否在run_maintenance()期间创建新分区时对分区集运行分析。 设置为“开启”以发送 TRUE(默认)。 设置为“关闭”以发送 FALSE。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 群集中要运行pg_partman BGW 的特定数据库的 CSV 列表。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description run_maintenance()的调用频率(以秒为单位)。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 是否记录run_maintenance()对pg_jobmon的调用(如果已安装)。 设置为“开启”以发送 TRUE(默认)。 设置为“关闭”以发送 FALSE。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.maintenance_wait

Attribute 价值
类别 自定义选项
Description 运行维护操作时,每个分区集之间的等待时间(以秒为单位)。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation pg_partman_bgw.maintenance_wait

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 供 BGW 使用的角色。 必须对 run_maintenance() 具有执行权限。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置聚合窗口(以分钟为单位)。 需要重新加载配置以使更改生效。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.interval_length_minutes

pg_qs.max_captured_queries (最大捕获查询数参数)

Attribute 价值
类别 自定义选项
Description 指定查询存储在每个时间间隔内要收集运行时统计数据的最相关查询数量。
数据类型 整数
默认值 500
允许的值 100-500
参数类型 dynamic
Documentation pg_qs.max_captured_queries

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 设置将保存查询计划文本的最大字节数;较长的计划将被截断。 需要重新加载此更改的配置才能生效。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。 需要重新加载配置以使更改生效。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 选择pg_qs捕获位置查询参数的方式。 需要重新加载配置,使更改生效。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择pg_qs跟踪的语句。 需要重新加载配置以使更改生效。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。 需要重启服务器以使更改生效。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 启用或禁用查询计划保存。 需要重新加载配置,使更改生效。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。 需要重新加载配置以使更改生效。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 选择 pg_stat_statements 跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

squeeze.workers_per_database

Attribute 价值
类别 自定义选项
Description 为每个数据库启动的最大压缩工作线程数。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation squeeze.workers_per_database

ssl_groups

Attribute 价值
类别 自定义选项
Description 设置要用于 Diffie-Hellman 密钥交换的组。 可以使用冒号分隔的列表指定多个组。
数据类型 字符串
默认值 X25519:prime256v1
允许的值 X25519:prime256v1
参数类型 只读的
Documentation

SSL/TLS13 密码套件

Attribute 价值
类别 自定义选项
Description 设置允许的 TLSv1.3 密码套件的列表。 空字符串表示使用默认密码套件。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation ssl_tls13_ciphers

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_parameter_max_length

Attribute 价值
类别 自定义选项
Description 设置要记录的查询参数的最大长度。 零日志没有查询参数,-1 完整记录这些参数。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_parameter_max_length

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 由服务器接受的密码身份验证方法(用逗号分隔)。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 快照数据文件的缓冲区大小(以兆字节为单位)。 这些缓冲区用于写入快照数据。 虽然这间接影响文件大小,但由于压缩和其他因素,实际文件大小可能更小。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 将临时对象存储在本地固态磁盘上。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 允许名单中的扩展列表,用逗号分隔。 如果扩展不在此列表中,则尝试在该扩展上执行 CREATE、ALTER、COMMENT、DROP EXTENSION 语句失败。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,credcheck,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,ip4r,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_diskann,pg_duckdb,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 验证Fabric Mirroring正常运行的先决条件。 仅当此设置从“off”更改为“on”时,才会进行验证。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation azure.fabric_mirror_enabled

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description 与服务器关联的系统分配标识的服务主体标识符。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 租户的标识符,其中存在与服务器关联的系统分配标识的服务主体。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指示服务器是否配置为从单一服务器迁移到灵活服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

credcheck.auth_delay_ms

Attribute 价值
类别 自定义选项
Description 报告身份验证失败前延迟的毫秒数。
数据类型 整数
默认值 0
允许的值 0-2147483
参数类型 dynamic
Documentation credcheck.auth_delay_ms

credcheck.auth_failure_cache_size

Attribute 价值
类别 自定义选项
Description 身份验证失败缓存中的最大条目数。
数据类型 整数
默认值 1024
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.auth_failure_cache_size

credcheck.encrypted_password_allowed

Attribute 价值
类别 自定义选项
Description 系统允许使用加密密码,否则抛出错误。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.encrypted_password_allowed

credcheck.history_max_size

Attribute 价值
类别 自定义选项
Description 密码历史记录中的最大条目数。
数据类型 整数
默认值 65535
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.history_max_size

credcheck.max_auth_failure

Attribute 价值
类别 自定义选项
Description 用户登录帐户失效之前的最大身份验证失败次数。
数据类型 整数
默认值 0
允许的值 0-64
参数类型 dynamic
Documentation credcheck.max_auth_failure

credcheck.no_password_logging (凭证检查.不记录密码)

Attribute 价值
类别 自定义选项
Description 防止在记录的错误消息中公开密码。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.no_password_logging

credcheck.password_contain

Attribute 价值
类别 自定义选项
Description 密码应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_contain

credcheck.密码包含用户名

Attribute 价值
类别 自定义选项
Description 密码包含用户名
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.密码包含用户名

credcheck.password_ignore_case

Attribute 价值
类别 自定义选项
Description 在密码检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.password_ignore_case

credcheck.password_min_digit

Attribute 价值
类别 自定义选项
Description 最小密码位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_digit

credcheck.密码_最小长度

Attribute 价值
类别 自定义选项
Description 最短密码长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.password_min_length

credcheck.password_min_lower

Attribute 价值
类别 自定义选项
Description 最小密码小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_lower

credcheck.密码_最小重复

Attribute 价值
类别 自定义选项
Description 最小密码字符重复次数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_repeat

credcheck.password_min_special

Attribute 价值
类别 自定义选项
Description 最小特殊字符
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_special

credcheck.password_min_upper

Attribute 价值
类别 自定义选项
Description 密码中大写字母的最小数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_upper

credcheck.password_not_contain

Attribute 价值
类别 自定义选项
Description 密码不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_not_contain

凭证检查.密码重用历史

Attribute 价值
类别 自定义选项
Description 允许重用密码前的最小更改次数
数据类型 整数
默认值 0
允许的值 0-100
参数类型 dynamic
Documentation credcheck.password_reuse_history

credcheck.password_reuse_interval(密码重用间隔)

Attribute 价值
类别 自定义选项
Description 允许重用之前经过的最短天数
数据类型 整数
默认值 0
允许的值 0-730
参数类型 dynamic
Documentation credcheck.password_reuse_interval

credcheck.password_valid_max

Attribute 价值
类别 自定义选项
Description 强制在 CREATE ROLE 语句中使用 VALID UNTIL 子句,并设定天数上限
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_max

credcheck.password_有效期至

Attribute 价值
类别 自定义选项
Description 在 CREATE ROLE 语句中必须使用 VALID UNTIL 子句,并设定一个最低天数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_until 密码有效期检查

credcheck.reset_superuser

Attribute 价值
类别 自定义选项
Description 在被禁止时还原超级用户访问权限。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation credcheck.reset_superuser

credcheck.username_contain

Attribute 价值
类别 自定义选项
Description 用户名应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_contain

credcheck.username_contain_password

Attribute 价值
类别 自定义选项
Description 用户名包含密码
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_contain_password

credcheck.username_ignore_case

Attribute 价值
类别 自定义选项
Description 在用户名检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_ignore_case

credcheck.username_min_digit

Attribute 价值
类别 自定义选项
Description 最小用户名位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_digit

credcheck.用户名最小长度

Attribute 价值
类别 自定义选项
Description 最小用户名长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.username_min_length

credcheck.username_min_lower

Attribute 价值
类别 自定义选项
Description 最小用户名小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_lower

credcheck.username_min_repeat

Attribute 价值
类别 自定义选项
Description 用户名字符的最小重复次数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_repeat

credcheck.username_min_special

Attribute 价值
类别 自定义选项
Description 最少用户名特殊字符数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_special

credcheck.username_min_upper

Attribute 价值
类别 自定义选项
Description 用户名中必须包含的最小大写字母数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_upper

credcheck.username_not_contain

Attribute 价值
类别 自定义选项
Description 用户名不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_not_contain

credcheck.白名单

Attribute 价值
类别 自定义选项
Description 要从密码策略检查中排除的用户名的逗号分隔列表。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist

credcheck.whitelist_auth_failure

Attribute 价值
类别 自定义选项
Description 以逗号分隔的用户列表,用于指定不计入最大登录失败次数的用户名。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist_auth_failure

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 用于存储pg_cron元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 可并发运行的最大作业数。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 1024
允许的值 1024
参数类型 只读的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 1024
允许的值 1024
参数类型 只读的
Documentation duckdb.memory_limit

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用 Microsoft Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。 可以使用逗号分隔的列表来提供多个类,并且可以通过用 - 符号开头来减去类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。 禁用此设置将减少来自大量查询目录的工具(如 psql 和 PgAdmin)的日志中的干扰。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。 此设置通常应处于禁用状态,但对于调试或其他目的可能很有用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。 此设置用于回归测试,也可用于最终用户进行测试或其他目的。 它不应在生产环境中使用,因为它可能会泄露正在记录的语句给用户。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。 如果存在参数,这些参数将包含在语句文本之后的 CSV 格式。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_parameter_max_size

Attribute 价值
类别 自定义选项
Description 指定要记录的可变长度参数的最大长度(以字节为单位)。 如果为 0(默认值),则不会检查参数的大小。 如果设置,当参数的大小超过设置时,审核日志中的值将替换为占位符。 请注意,对于字符类型,参数编码的长度为字节,而不是字符。
数据类型 整数
默认值 0
允许的值 0-1073741823
参数类型 dynamic
Documentation pgaudit.log_parameter_max_size

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。 这是一种在不使用对象审核日志记录的情况下实现全面日志记录的有用快捷方式。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。 禁用此设置将导致日志详细程度降低,但可能更难以确定生成日志条目的语句。不过,语句/子语句对以及进程 ID 应该足以识别与先前记录一起的语句文本。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。 可以通过将权限授予主角色,来定义多个审核角色。 这样,多个组就可以负责审核日志记录的不同方面。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,批量插入。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

Attribute 价值
类别 自定义选项
Description 设置用于记录已解决冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 dynamic
Documentation pglogical.conflict_log_level

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置用于解决可解决冲突的方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 使用 SPI 而不是低级别 API 来应用更改。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 是否在run_maintenance()期间创建新分区时对分区集运行分析。 设置为“开启”以发送 TRUE(默认)。 设置为“关闭”以发送 FALSE。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 群集中要运行pg_partman BGW 的特定数据库的 CSV 列表。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description run_maintenance()的调用频率(以秒为单位)。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 是否记录run_maintenance()对pg_jobmon的调用(如果已安装)。 设置为“开启”以发送 TRUE(默认)。 设置为“关闭”以发送 FALSE。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.maintenance_wait

Attribute 价值
类别 自定义选项
Description 运行维护操作时,每个分区集之间的等待时间(以秒为单位)。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation pg_partman_bgw.maintenance_wait

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 供 BGW 使用的角色。 必须对 run_maintenance() 具有执行权限。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置聚合窗口(以分钟为单位)。 需要重新加载配置以使更改生效。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_captured_queries (最大捕获查询数参数)

Attribute 价值
类别 自定义选项
Description 指定查询存储在每个时间间隔内要收集运行时统计数据的最相关查询数量。
数据类型 整数
默认值 500
允许的值 100-500
参数类型 dynamic
Documentation pg_qs.max_captured_queries

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 选择 pg_stat_statements 跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

squeeze.workers_per_database

Attribute 价值
类别 自定义选项
Description 为每个数据库启动的最大压缩工作线程数。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation squeeze.workers_per_database

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

age.enable_containment

Attribute 价值
类别 自定义选项
Description 使用 @> 运算符转换 MATCH 的筛选器。 否则,请使用 -> 运算符。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation age.enable_containment

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_parameter_max_length

Attribute 价值
类别 自定义选项
Description 设置要记录的查询参数的最大长度。 零日志没有查询参数,-1 完整记录这些参数。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_parameter_max_length

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,credcheck,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,ip4r,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_diskann,pg_duckdb,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示服务器上是否启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

credcheck.auth_delay_ms

Attribute 价值
类别 自定义选项
Description 报告身份验证失败前延迟的毫秒数。
数据类型 整数
默认值 0
允许的值 0-2147483
参数类型 dynamic
Documentation credcheck.auth_delay_ms

credcheck.auth_failure_cache_size

Attribute 价值
类别 自定义选项
Description 身份验证失败缓存中的最大条目数。
数据类型 整数
默认值 1024
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.auth_failure_cache_size

credcheck.encrypted_password_allowed

Attribute 价值
类别 自定义选项
Description 系统允许使用加密密码,否则抛出错误。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.encrypted_password_allowed

credcheck.history_max_size

Attribute 价值
类别 自定义选项
Description 密码历史记录中的最大条目数。
数据类型 整数
默认值 65535
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.history_max_size

credcheck.max_auth_failure

Attribute 价值
类别 自定义选项
Description 用户登录帐户失效之前的最大身份验证失败次数。
数据类型 整数
默认值 0
允许的值 0-64
参数类型 dynamic
Documentation credcheck.max_auth_failure

credcheck.no_password_logging (凭证检查.不记录密码)

Attribute 价值
类别 自定义选项
Description 防止在记录的错误消息中公开密码。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.no_password_logging

credcheck.password_contain

Attribute 价值
类别 自定义选项
Description 密码应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_contain

credcheck.密码包含用户名

Attribute 价值
类别 自定义选项
Description 密码包含用户名
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.密码包含用户名

credcheck.password_ignore_case

Attribute 价值
类别 自定义选项
Description 在密码检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.password_ignore_case

credcheck.password_min_digit

Attribute 价值
类别 自定义选项
Description 最小密码位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_digit

credcheck.密码_最小长度

Attribute 价值
类别 自定义选项
Description 最短密码长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.password_min_length

credcheck.password_min_lower

Attribute 价值
类别 自定义选项
Description 最小密码小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_lower

credcheck.密码_最小重复

Attribute 价值
类别 自定义选项
Description 最小密码字符重复次数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_repeat

credcheck.password_min_special

Attribute 价值
类别 自定义选项
Description 最小特殊字符
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_special

credcheck.password_min_upper

Attribute 价值
类别 自定义选项
Description 密码中大写字母的最小数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_upper

credcheck.password_not_contain

Attribute 价值
类别 自定义选项
Description 密码不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_not_contain

凭证检查.密码重用历史

Attribute 价值
类别 自定义选项
Description 允许重用密码前的最小更改次数
数据类型 整数
默认值 0
允许的值 0-100
参数类型 dynamic
Documentation credcheck.password_reuse_history

credcheck.password_reuse_interval(密码重用间隔)

Attribute 价值
类别 自定义选项
Description 允许重用之前经过的最短天数
数据类型 整数
默认值 0
允许的值 0-730
参数类型 dynamic
Documentation credcheck.password_reuse_interval

credcheck.password_valid_max

Attribute 价值
类别 自定义选项
Description 强制在 CREATE ROLE 语句中使用 VALID UNTIL 子句,并设定天数上限
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_max

credcheck.password_有效期至

Attribute 价值
类别 自定义选项
Description 在 CREATE ROLE 语句中必须使用 VALID UNTIL 子句,并设定一个最低天数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_until 密码有效期检查

credcheck.reset_superuser

Attribute 价值
类别 自定义选项
Description 在被禁止时还原超级用户访问权限。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation credcheck.reset_superuser

credcheck.username_contain

Attribute 价值
类别 自定义选项
Description 用户名应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_contain

credcheck.username_contain_password

Attribute 价值
类别 自定义选项
Description 用户名包含密码
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_contain_password

credcheck.username_ignore_case

Attribute 价值
类别 自定义选项
Description 在用户名检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_ignore_case

credcheck.username_min_digit

Attribute 价值
类别 自定义选项
Description 最小用户名位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_digit

credcheck.用户名最小长度

Attribute 价值
类别 自定义选项
Description 最小用户名长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.username_min_length

credcheck.username_min_lower

Attribute 价值
类别 自定义选项
Description 最小用户名小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_lower

credcheck.username_min_repeat

Attribute 价值
类别 自定义选项
Description 用户名字符的最小重复次数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_repeat

credcheck.username_min_special

Attribute 价值
类别 自定义选项
Description 最少用户名特殊字符数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_special

credcheck.username_min_upper

Attribute 价值
类别 自定义选项
Description 用户名中必须包含的最小大写字母数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_upper

credcheck.username_not_contain

Attribute 价值
类别 自定义选项
Description 用户名不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_not_contain

credcheck.白名单

Attribute 价值
类别 自定义选项
Description 要从密码策略检查中排除的用户名的逗号分隔列表。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist

credcheck.whitelist_auth_failure

Attribute 价值
类别 自定义选项
Description 以逗号分隔的用户列表,用于指定不计入最大登录失败次数的用户名。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist_auth_failure

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.allow_community_extensions

Attribute 价值
类别 自定义选项
Description 禁用安装社区扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_community_extensions

duckdb.allow_unsigned_extensions

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 加载签名无效或缺失的扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_unsigned_extensions

duckdb.autoinstall_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动安装这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoinstall_known_extensions

duckdb.autoload_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动加载这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoload_known_extensions

duckdb.disabled_filesystems

Attribute 价值
类别 自定义选项
Description 禁用会阻止访问的特定文件系统(例如 LocalFileSystem)。
数据类型 字符串
默认值 LocalFileSystem
允许的值 LocalFileSystem
参数类型 只读的
Documentation duckdb.disabled_filesystems

duckdb.enable_external_access

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 访问外部状态。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.enable_external_access

duckdb.force_execution

Attribute 价值
类别 自定义选项
Description 强制查询使用 DuckDB 执行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.force_execution

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 1024
允许的值 1024
参数类型 只读的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 1024
允许的值 1024
参数类型 只读的
Documentation duckdb.memory_limit

duckdb.postgres_role

Attribute 价值
类别 自定义选项
Description 应允许哪个 postgres 角色使用 DuckDB 执行、使用机密和创建 MotherDuck 表。 默认设置为仅超级用户。
数据类型 字符串
默认值 azure_pg_duckdb_admin
允许的值 azure_pg_duckdb_admin
参数类型 只读的
Documentation duckdb.postgres_role

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_parameter_max_size

Attribute 价值
类别 自定义选项
Description 指定要记录的可变长度参数的最大长度(以字节为单位)。 如果为 0(默认值),则不会检查参数的大小。 如果设置,当参数的大小超过设置时,审核日志中的值将替换为占位符。 请注意,对于字符类型,参数编码的长度为字节,而不是字符。
数据类型 整数
默认值 0
允许的值 0-1073741823
参数类型 dynamic
Documentation pgaudit.log_parameter_max_size

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.hints_anywhere

Attribute 价值
类别 自定义选项
Description 从查询中的任何位置读取提示。 此选项允许pg_hint_plan忽略语法,因此对误读应谨慎。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.hints_anywhere

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

Attribute 价值
类别 自定义选项
Description 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 dynamic
Documentation pglogical.conflict_log_level

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.maintenance_wait

Attribute 价值
类别 自定义选项
Description 运行维护操作时,每个分区集之间的等待时间(以秒为单位)。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation pg_partman_bgw.maintenance_wait

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_captured_queries (最大捕获查询数参数)

Attribute 价值
类别 自定义选项
Description 指定查询存储在每个时间间隔内要收集运行时统计数据的最相关查询数量。
数据类型 整数
默认值 500
允许的值 100-500
参数类型 dynamic
Documentation pg_qs.max_captured_queries

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

squeeze.workers_per_database

Attribute 价值
类别 自定义选项
Description 为每个数据库启动的最大压缩工作线程数。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation squeeze.workers_per_database

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

age.enable_containment

Attribute 价值
类别 自定义选项
Description 使用 @> 运算符转换 MATCH 的筛选器。 否则,请使用 -> 运算符。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation age.enable_containment

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,credcheck,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,ip4r,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_diskann,pg_duckdb,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示服务器上是否启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

credcheck.auth_delay_ms

Attribute 价值
类别 自定义选项
Description 报告身份验证失败前延迟的毫秒数。
数据类型 整数
默认值 0
允许的值 0-2147483
参数类型 dynamic
Documentation credcheck.auth_delay_ms

credcheck.auth_failure_cache_size

Attribute 价值
类别 自定义选项
Description 身份验证失败缓存中的最大条目数。
数据类型 整数
默认值 1024
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.auth_failure_cache_size

credcheck.encrypted_password_allowed

Attribute 价值
类别 自定义选项
Description 系统允许使用加密密码,否则抛出错误。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.encrypted_password_allowed

credcheck.history_max_size

Attribute 价值
类别 自定义选项
Description 密码历史记录中的最大条目数。
数据类型 整数
默认值 65535
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.history_max_size

credcheck.max_auth_failure

Attribute 价值
类别 自定义选项
Description 用户登录帐户失效之前的最大身份验证失败次数。
数据类型 整数
默认值 0
允许的值 0-64
参数类型 dynamic
Documentation credcheck.max_auth_failure

credcheck.no_password_logging (凭证检查.不记录密码)

Attribute 价值
类别 自定义选项
Description 防止在记录的错误消息中公开密码。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.no_password_logging

credcheck.password_contain

Attribute 价值
类别 自定义选项
Description 密码应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_contain

credcheck.密码包含用户名

Attribute 价值
类别 自定义选项
Description 密码包含用户名
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.密码包含用户名

credcheck.password_ignore_case

Attribute 价值
类别 自定义选项
Description 在密码检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.password_ignore_case

credcheck.password_min_digit

Attribute 价值
类别 自定义选项
Description 最小密码位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_digit

credcheck.密码_最小长度

Attribute 价值
类别 自定义选项
Description 最短密码长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.password_min_length

credcheck.password_min_lower

Attribute 价值
类别 自定义选项
Description 最小密码小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_lower

credcheck.密码_最小重复

Attribute 价值
类别 自定义选项
Description 最小密码字符重复次数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_repeat

credcheck.password_min_special

Attribute 价值
类别 自定义选项
Description 最小特殊字符
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_special

credcheck.password_min_upper

Attribute 价值
类别 自定义选项
Description 密码中大写字母的最小数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_upper

credcheck.password_not_contain

Attribute 价值
类别 自定义选项
Description 密码不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_not_contain

凭证检查.密码重用历史

Attribute 价值
类别 自定义选项
Description 允许重用密码前的最小更改次数
数据类型 整数
默认值 0
允许的值 0-100
参数类型 dynamic
Documentation credcheck.password_reuse_history

credcheck.password_reuse_interval(密码重用间隔)

Attribute 价值
类别 自定义选项
Description 允许重用之前经过的最短天数
数据类型 整数
默认值 0
允许的值 0-730
参数类型 dynamic
Documentation credcheck.password_reuse_interval

credcheck.password_valid_max

Attribute 价值
类别 自定义选项
Description 强制在 CREATE ROLE 语句中使用 VALID UNTIL 子句,并设定天数上限
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_max

credcheck.password_有效期至

Attribute 价值
类别 自定义选项
Description 在 CREATE ROLE 语句中必须使用 VALID UNTIL 子句,并设定一个最低天数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_until 密码有效期检查

credcheck.reset_superuser

Attribute 价值
类别 自定义选项
Description 在被禁止时还原超级用户访问权限。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation credcheck.reset_superuser

credcheck.username_contain

Attribute 价值
类别 自定义选项
Description 用户名应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_contain

credcheck.username_contain_password

Attribute 价值
类别 自定义选项
Description 用户名包含密码
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_contain_password

credcheck.username_ignore_case

Attribute 价值
类别 自定义选项
Description 在用户名检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_ignore_case

credcheck.username_min_digit

Attribute 价值
类别 自定义选项
Description 最小用户名位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_digit

credcheck.用户名最小长度

Attribute 价值
类别 自定义选项
Description 最小用户名长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.username_min_length

credcheck.username_min_lower

Attribute 价值
类别 自定义选项
Description 最小用户名小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_lower

credcheck.username_min_repeat

Attribute 价值
类别 自定义选项
Description 用户名字符的最小重复次数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_repeat

credcheck.username_min_special

Attribute 价值
类别 自定义选项
Description 最少用户名特殊字符数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_special

credcheck.username_min_upper

Attribute 价值
类别 自定义选项
Description 用户名中必须包含的最小大写字母数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_upper

credcheck.username_not_contain

Attribute 价值
类别 自定义选项
Description 用户名不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_not_contain

credcheck.白名单

Attribute 价值
类别 自定义选项
Description 要从密码策略检查中排除的用户名的逗号分隔列表。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist

credcheck.whitelist_auth_failure

Attribute 价值
类别 自定义选项
Description 以逗号分隔的用户列表,用于指定不计入最大登录失败次数的用户名。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist_auth_failure

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.allow_community_extensions

Attribute 价值
类别 自定义选项
Description 禁用安装社区扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_community_extensions

duckdb.allow_unsigned_extensions

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 加载签名无效或缺失的扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_unsigned_extensions

duckdb.autoinstall_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动安装这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoinstall_known_extensions

duckdb.autoload_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动加载这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoload_known_extensions

duckdb.disabled_filesystems

Attribute 价值
类别 自定义选项
Description 禁用会阻止访问的特定文件系统(例如 LocalFileSystem)。
数据类型 字符串
默认值 LocalFileSystem
允许的值 LocalFileSystem
参数类型 只读的
Documentation duckdb.disabled_filesystems

duckdb.enable_external_access

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 访问外部状态。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.enable_external_access

duckdb.force_execution

Attribute 价值
类别 自定义选项
Description 强制查询使用 DuckDB 执行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.force_execution

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 1024
允许的值 1024
参数类型 只读的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 1024
允许的值 1024
参数类型 只读的
Documentation duckdb.memory_limit

duckdb.postgres_role

Attribute 价值
类别 自定义选项
Description 应允许哪个 postgres 角色使用 DuckDB 执行、使用机密和创建 MotherDuck 表。 默认设置为仅超级用户。
数据类型 字符串
默认值 azure_pg_duckdb_admin
允许的值 azure_pg_duckdb_admin
参数类型 只读的
Documentation duckdb.postgres_role

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.hints_anywhere

Attribute 价值
类别 自定义选项
Description 从查询中的任何位置读取提示。 此选项允许pg_hint_plan忽略语法,因此对误读应谨慎。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.hints_anywhere

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

Attribute 价值
类别 自定义选项
Description 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 dynamic
Documentation pglogical.conflict_log_level

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_captured_queries (最大捕获查询数参数)

Attribute 价值
类别 自定义选项
Description 指定查询存储在每个时间间隔内要收集运行时统计数据的最相关查询数量。
数据类型 整数
默认值 500
允许的值 100-500
参数类型 dynamic
Documentation pg_qs.max_captured_queries

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

squeeze.workers_per_database

Attribute 价值
类别 自定义选项
Description 为每个数据库启动的最大压缩工作线程数。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation squeeze.workers_per_database

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

age.enable_containment

Attribute 价值
类别 自定义选项
Description 使用 @> 运算符转换 MATCH 的筛选器。 否则,请使用 -> 运算符。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation age.enable_containment

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5,scram-sha-256
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,credcheck,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,ip4r,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_diskann,pg_duckdb,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示服务器上是否启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

credcheck.auth_delay_ms

Attribute 价值
类别 自定义选项
Description 报告身份验证失败前延迟的毫秒数。
数据类型 整数
默认值 0
允许的值 0-2147483
参数类型 dynamic
Documentation credcheck.auth_delay_ms

credcheck.auth_failure_cache_size

Attribute 价值
类别 自定义选项
Description 身份验证失败缓存中的最大条目数。
数据类型 整数
默认值 1024
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.auth_failure_cache_size

credcheck.encrypted_password_allowed

Attribute 价值
类别 自定义选项
Description 系统允许使用加密密码,否则抛出错误。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.encrypted_password_allowed

credcheck.history_max_size

Attribute 价值
类别 自定义选项
Description 密码历史记录中的最大条目数。
数据类型 整数
默认值 65535
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.history_max_size

credcheck.max_auth_failure

Attribute 价值
类别 自定义选项
Description 用户登录帐户失效之前的最大身份验证失败次数。
数据类型 整数
默认值 0
允许的值 0-64
参数类型 dynamic
Documentation credcheck.max_auth_failure

credcheck.no_password_logging (凭证检查.不记录密码)

Attribute 价值
类别 自定义选项
Description 防止在记录的错误消息中公开密码。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.no_password_logging

credcheck.password_contain

Attribute 价值
类别 自定义选项
Description 密码应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_contain

credcheck.密码包含用户名

Attribute 价值
类别 自定义选项
Description 密码包含用户名
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.密码包含用户名

credcheck.password_ignore_case

Attribute 价值
类别 自定义选项
Description 在密码检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.password_ignore_case

credcheck.password_min_digit

Attribute 价值
类别 自定义选项
Description 最小密码位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_digit

credcheck.密码_最小长度

Attribute 价值
类别 自定义选项
Description 最短密码长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.password_min_length

credcheck.password_min_lower

Attribute 价值
类别 自定义选项
Description 最小密码小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_lower

credcheck.密码_最小重复

Attribute 价值
类别 自定义选项
Description 最小密码字符重复次数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_repeat

credcheck.password_min_special

Attribute 价值
类别 自定义选项
Description 最小特殊字符
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_special

credcheck.password_min_upper

Attribute 价值
类别 自定义选项
Description 密码中大写字母的最小数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_upper

credcheck.password_not_contain

Attribute 价值
类别 自定义选项
Description 密码不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_not_contain

凭证检查.密码重用历史

Attribute 价值
类别 自定义选项
Description 允许重用密码前的最小更改次数
数据类型 整数
默认值 0
允许的值 0-100
参数类型 dynamic
Documentation credcheck.password_reuse_history

credcheck.password_reuse_interval(密码重用间隔)

Attribute 价值
类别 自定义选项
Description 允许重用之前经过的最短天数
数据类型 整数
默认值 0
允许的值 0-730
参数类型 dynamic
Documentation credcheck.password_reuse_interval

credcheck.password_valid_max

Attribute 价值
类别 自定义选项
Description 强制在 CREATE ROLE 语句中使用 VALID UNTIL 子句,并设定天数上限
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_max

credcheck.password_有效期至

Attribute 价值
类别 自定义选项
Description 在 CREATE ROLE 语句中必须使用 VALID UNTIL 子句,并设定一个最低天数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_until 密码有效期检查

credcheck.reset_superuser

Attribute 价值
类别 自定义选项
Description 在被禁止时还原超级用户访问权限。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation credcheck.reset_superuser

credcheck.username_contain

Attribute 价值
类别 自定义选项
Description 用户名应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_contain

credcheck.username_contain_password

Attribute 价值
类别 自定义选项
Description 用户名包含密码
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_contain_password

credcheck.username_ignore_case

Attribute 价值
类别 自定义选项
Description 在用户名检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_ignore_case

credcheck.username_min_digit

Attribute 价值
类别 自定义选项
Description 最小用户名位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_digit

credcheck.用户名最小长度

Attribute 价值
类别 自定义选项
Description 最小用户名长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.username_min_length

credcheck.username_min_lower

Attribute 价值
类别 自定义选项
Description 最小用户名小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_lower

credcheck.username_min_repeat

Attribute 价值
类别 自定义选项
Description 用户名字符的最小重复次数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_repeat

credcheck.username_min_special

Attribute 价值
类别 自定义选项
Description 最少用户名特殊字符数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_special

credcheck.username_min_upper

Attribute 价值
类别 自定义选项
Description 用户名中必须包含的最小大写字母数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_upper

credcheck.username_not_contain

Attribute 价值
类别 自定义选项
Description 用户名不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_not_contain

credcheck.白名单

Attribute 价值
类别 自定义选项
Description 要从密码策略检查中排除的用户名的逗号分隔列表。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist

credcheck.whitelist_auth_failure

Attribute 价值
类别 自定义选项
Description 以逗号分隔的用户列表,用于指定不计入最大登录失败次数的用户名。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist_auth_failure

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

duckdb.allow_community_extensions

Attribute 价值
类别 自定义选项
Description 禁用安装社区扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_community_extensions

duckdb.allow_unsigned_extensions

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 加载签名无效或缺失的扩展。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.allow_unsigned_extensions

duckdb.autoinstall_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动安装这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoinstall_known_extensions

duckdb.autoload_known_extensions

Attribute 价值
类别 自定义选项
Description 当 DuckDB 查询依赖于已知扩展时,是否允许自动加载这些已知扩展。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.autoload_known_extensions

duckdb.disabled_filesystems

Attribute 价值
类别 自定义选项
Description 禁用会阻止访问的特定文件系统(例如 LocalFileSystem)。
数据类型 字符串
默认值 LocalFileSystem
允许的值 LocalFileSystem
参数类型 只读的
Documentation duckdb.disabled_filesystems

duckdb.enable_external_access

Attribute 价值
类别 自定义选项
Description 允许 DuckDB 访问外部状态。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation duckdb.enable_external_access

duckdb.force_execution

Attribute 价值
类别 自定义选项
Description 强制查询使用 DuckDB 执行。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation duckdb.force_execution

duckdb.max_memory

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存(例如 1GB)。
数据类型 整数
默认值 1024
允许的值 1024
参数类型 只读的
Documentation duckdb.max_memory

duckdb.max_workers_per_postgres_scan

Attribute 价值
类别 自定义选项
Description 用于单个 Postgres 扫描的 PostgreSQL 辅助角色的最大数目。
数据类型 整数
默认值 2
允许的值 0-1024
参数类型 静态的
Documentation duckdb.max_workers_per_postgres_scan

duckdb.memory_limit(内存限制)

Attribute 价值
类别 自定义选项
Description DuckDB 可以使用的最大内存 (例如 1GB),其别名为 duckdb.max_memory
数据类型 整数
默认值 1024
允许的值 1024
参数类型 只读的
Documentation duckdb.memory_limit

duckdb.postgres_role

Attribute 价值
类别 自定义选项
Description 应允许哪个 postgres 角色使用 DuckDB 执行、使用机密和创建 MotherDuck 表。 默认设置为仅超级用户。
数据类型 字符串
默认值 azure_pg_duckdb_admin
允许的值 azure_pg_duckdb_admin
参数类型 只读的
Documentation duckdb.postgres_role

duckdb.threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.threads

duckdb.worker_threads

Attribute 价值
类别 自定义选项
Description 每个 Postgres 后端的最大 DuckDB 线程数,duckdb.threads 的别名。
数据类型 整数
默认值 -1
允许的值 -1-96
参数类型 静态的
Documentation duckdb.worker_threads

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_rows

Attribute 价值
类别 自定义选项
Description 指定日志记录是否会包含由某条语句检索到或影响到的行。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_rows

pgaudit.log_statement

Attribute 价值
类别 自定义选项
Description 指定日志记录是否包括语句文本和参数。 根据要求,审核日志中可能不需要完整语句文本。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.hints_anywhere

Attribute 价值
类别 自定义选项
Description 从查询中的任何位置读取提示。 此选项允许pg_hint_plan忽略语法,因此对误读应谨慎。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.hints_anywhere

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

Attribute 价值
类别 自定义选项
Description 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 dynamic
Documentation pglogical.conflict_log_level

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_captured_queries (最大捕获查询数参数)

Attribute 价值
类别 自定义选项
Description 指定查询存储在每个时间间隔内要收集运行时统计数据的最相关查询数量。
数据类型 整数
默认值 500
允许的值 100-500
参数类型 dynamic
Documentation pg_qs.max_captured_queries

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

age.enable_containment

Attribute 价值
类别 自定义选项
Description 使用 @> 运算符转换 MATCH 的筛选器。 否则,请使用 -> 运算符。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation age.enable_containment

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.log_wal

Attribute 价值
类别 自定义选项
Description 记录 WAL 使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_wal

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure_cdc.change_batch_buffer_size(更改批处理缓冲区大小)

Attribute 价值
类别 自定义选项
Description 用于更改批处理的缓冲区大小(以 MB 为单位)。 这些缓冲区用于在将 CDC 更改写入磁盘之前临时存储这些更改。
数据类型 整数
默认值 16
允许的值 1-100
参数类型 dynamic
Documentation

azure_cdc.change_batch_export_timeout

Attribute 价值
类别 自定义选项
Description 在一批更改准备好进行导出之前,可等待的最长的时间(以秒为单位)。
数据类型 整数
默认值 30
允许的值 10-60
参数类型 dynamic
Documentation

azure_cdc.max_fabric_mirrors

Attribute 价值
类别 自定义选项
Description 可以同时运行的并行构造镜像的最大数目。
数据类型 整数
默认值 3
允许的值 1-6
参数类型 静态的
Documentation

azure_cdc.max_snapshot_workers

Attribute 价值
类别 自定义选项
Description 为快照导出而启动的最工作线程数量上限。 每个工作线程一次会导出一个表。
数据类型 整数
默认值 3
允许的值 0-100
参数类型 dynamic
Documentation

azure_cdc.onelake_buffer_size

Attribute 价值
类别 自定义选项
Description 要上传到 Onelake 的缓冲区大小(以兆字节为单位)。 Onelake 以区块的形式上传文件,并将数据缓冲到内存中,直至达到此限制。
数据类型 整数
默认值 100
允许的值 1-1024
参数类型 dynamic
Documentation

azure_cdc.parquet_compression

Attribute 价值
类别 自定义选项
Description 用于 parquet 文件的压缩算法。 确定用于 parquet 文件的压缩算法。 支持的值为“未压缩”、“snappy”、“gzip”和“zstd”。
数据类型 枚举
默认值 zstd
允许的值 uncompressed,snappy,gzip,zstd
参数类型 dynamic
Documentation

azure_cdc.snapshot_buffer_size

Attribute 价值
类别 自定义选项
Description 初始快照缓冲区的最大大小(以 MB 为单位)。 每个表,在发送到 Fabric 之前会缓冲这么多数据。 请记住,azure_cdc.snapshot_buffer_size*azure_cdc.max_snapshot_workers 是初始快照期间使用的总内存缓冲区。
数据类型 整数
默认值 1000
允许的值 10-4000
参数类型 dynamic
Documentation

azure_cdc.snapshot_export_timeout

Attribute 价值
类别 自定义选项
Description 在导出数据库快照时,若出现错误,则允许等待的最长时间(以分钟为单位)。
数据类型 整数
默认值 180
允许的值 0-1440
参数类型 dynamic
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,age,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,credcheck,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,ip4r,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tdigest,tds_fdw,timescaledb,topn,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.fabric_mirror_enabled

Attribute 价值
类别 自定义选项
Description 指定指示是否在服务器上启用镜像的标志。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation azure.fabric_mirror_enabled

azure.service_principal_id

Attribute 价值
类别 自定义选项
Description Azure 中服务主体的唯一标识符,用于授予租户中资源的权限和访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.service_principal_tenant_id

Attribute 价值
类别 自定义选项
Description 用于创建服务主体的租户的唯一标识符,确保该服务主体在该租户中具有必要的权限和资源访问权限。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

credcheck.auth_delay_ms

Attribute 价值
类别 自定义选项
Description 报告身份验证失败前延迟的毫秒数。
数据类型 整数
默认值 0
允许的值 0-2147483
参数类型 dynamic
Documentation credcheck.auth_delay_ms

credcheck.auth_failure_cache_size

Attribute 价值
类别 自定义选项
Description 身份验证失败缓存中的最大条目数。
数据类型 整数
默认值 1024
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.auth_failure_cache_size

credcheck.encrypted_password_allowed

Attribute 价值
类别 自定义选项
Description 系统允许使用加密密码,否则抛出错误。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.encrypted_password_allowed

credcheck.history_max_size

Attribute 价值
类别 自定义选项
Description 密码历史记录中的最大条目数。
数据类型 整数
默认值 65535
允许的值 1-2097151
参数类型 dynamic
Documentation credcheck.history_max_size

credcheck.max_auth_failure

Attribute 价值
类别 自定义选项
Description 用户登录帐户失效之前的最大身份验证失败次数。
数据类型 整数
默认值 0
允许的值 0-64
参数类型 dynamic
Documentation credcheck.max_auth_failure

credcheck.no_password_logging (凭证检查.不记录密码)

Attribute 价值
类别 自定义选项
Description 防止在记录的错误消息中公开密码。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.no_password_logging

credcheck.password_contain

Attribute 价值
类别 自定义选项
Description 密码应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_contain

credcheck.密码包含用户名

Attribute 价值
类别 自定义选项
Description 密码包含用户名
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.密码包含用户名

credcheck.password_ignore_case

Attribute 价值
类别 自定义选项
Description 在密码检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.password_ignore_case

credcheck.password_min_digit

Attribute 价值
类别 自定义选项
Description 最小密码位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_digit

credcheck.密码_最小长度

Attribute 价值
类别 自定义选项
Description 最短密码长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.password_min_length

credcheck.password_min_lower

Attribute 价值
类别 自定义选项
Description 最小密码小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_lower

credcheck.密码_最小重复

Attribute 价值
类别 自定义选项
Description 最小密码字符重复次数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_repeat

credcheck.password_min_special

Attribute 价值
类别 自定义选项
Description 最小特殊字符
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_special

credcheck.password_min_upper

Attribute 价值
类别 自定义选项
Description 密码中大写字母的最小数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_min_upper

credcheck.password_not_contain

Attribute 价值
类别 自定义选项
Description 密码不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.password_not_contain

凭证检查.密码重用历史

Attribute 价值
类别 自定义选项
Description 允许重用密码前的最小更改次数
数据类型 整数
默认值 0
允许的值 0-100
参数类型 dynamic
Documentation credcheck.password_reuse_history

credcheck.password_reuse_interval(密码重用间隔)

Attribute 价值
类别 自定义选项
Description 允许重用之前经过的最短天数
数据类型 整数
默认值 0
允许的值 0-730
参数类型 dynamic
Documentation credcheck.password_reuse_interval

credcheck.password_valid_max

Attribute 价值
类别 自定义选项
Description 强制在 CREATE ROLE 语句中使用 VALID UNTIL 子句,并设定天数上限
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_max

credcheck.password_有效期至

Attribute 价值
类别 自定义选项
Description 在 CREATE ROLE 语句中必须使用 VALID UNTIL 子句,并设定一个最低天数限制
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.password_valid_until 密码有效期检查

credcheck.reset_superuser

Attribute 价值
类别 自定义选项
Description 在被禁止时还原超级用户访问权限。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation credcheck.reset_superuser

credcheck.username_contain

Attribute 价值
类别 自定义选项
Description 用户名应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_contain

credcheck.username_contain_password

Attribute 价值
类别 自定义选项
Description 用户名包含密码
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_contain_password

credcheck.username_ignore_case

Attribute 价值
类别 自定义选项
Description 在用户名检查时忽略大小写
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation credcheck.username_ignore_case

credcheck.username_min_digit

Attribute 价值
类别 自定义选项
Description 最小用户名位数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_digit

credcheck.用户名最小长度

Attribute 价值
类别 自定义选项
Description 最小用户名长度
数据类型 整数
默认值 1
允许的值 1-2147483647
参数类型 dynamic
Documentation credcheck.username_min_length

credcheck.username_min_lower

Attribute 价值
类别 自定义选项
Description 最小用户名小写字母
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_lower

credcheck.username_min_repeat

Attribute 价值
类别 自定义选项
Description 用户名字符的最小重复次数
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_repeat

credcheck.username_min_special

Attribute 价值
类别 自定义选项
Description 最少用户名特殊字符数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_special

credcheck.username_min_upper

Attribute 价值
类别 自定义选项
Description 用户名中必须包含的最小大写字母数量
数据类型 整数
默认值 0
允许的值 0-2147483647
参数类型 dynamic
Documentation credcheck.username_min_upper

credcheck.username_not_contain

Attribute 价值
类别 自定义选项
Description 用户名不应包含这些字符
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.username_not_contain

credcheck.白名单

Attribute 价值
类别 自定义选项
Description 要从密码策略检查中排除的用户名的逗号分隔列表。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist

credcheck.whitelist_auth_failure

Attribute 价值
类别 自定义选项
Description 以逗号分隔的用户列表,用于指定不计入最大登录失败次数的用户名。
数据类型 字符串
默认值
允许的值 .*
参数类型 dynamic
Documentation credcheck.whitelist_auth_failure

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.hints_anywhere

Attribute 价值
类别 自定义选项
Description 从查询中的任何位置读取提示。 此选项允许pg_hint_plan忽略语法,因此对误读应谨慎。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.hints_anywhere

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

Attribute 价值
类别 自定义选项
Description 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 dynamic
Documentation pglogical.conflict_log_level

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_captured_queries (最大捕获查询数参数)

Attribute 价值
类别 自定义选项
Description 指定查询存储在每个时间间隔内要收集运行时统计数据的最相关查询数量。
数据类型 整数
默认值 500
允许的值 100-500
参数类型 dynamic
Documentation pg_qs.max_captured_queries

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_planning

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪计划持续时间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_planning

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

timescaledb_osm.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb_osm.disable_load

anon.algorithm

Attribute 价值
类别 自定义选项
Description 用于假名化函数的哈希方法。
数据类型 字符串
默认值 sha256
允许的值 sha256
参数类型 只读的
Documentation anon.algorithm

anon.k_anonymity_provider

Attribute 价值
类别 自定义选项
Description 用于 k 匿名的安全标签提供程序。
数据类型 字符串
默认值 k_anonymity
允许的值 k_anonymity
参数类型 只读的
Documentation anon.k_anonymity_provider

anon.masking_policies

Attribute 价值
类别 自定义选项
Description 定义多个掩码策略(尚未实现)。
数据类型 字符串
默认值 anon
允许的值 anon
参数类型 只读的
Documentation anon.masking_policies

anon.maskschema

Attribute 价值
类别 自定义选项
Description 存储动态掩码视图的架构。
数据类型 字符串
默认值 mask
允许的值 mask
参数类型 只读的
Documentation anon.maskschema

anon.privacy_by_default

Attribute 价值
类别 自定义选项
Description 使用 NULL(或 NOT NULL 列的默认值)屏蔽所有列。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.privacy_by_default

anon.restrict_to_trusted_schemas

Attribute 价值
类别 自定义选项
Description 屏蔽筛选器必须位于受信任架构中。 激活此选项可防止非超级用户使用其自己的屏蔽筛选器。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.restrict_to_trusted_schemas

anon.salt

Attribute 价值
类别 自定义选项
Description 用于假名化函数的盐值。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation anon.salt

anon.sourceschema

Attribute 价值
类别 自定义选项
Description 动态掩码引擎屏蔽表时采用的架构。
数据类型 字符串
默认值 public
允许的值 public
参数类型 只读的
Documentation anon.sourceschema

anon.strict_mode

Attribute 价值
类别 自定义选项
Description 掩码规则无法更改列数据类型,除非禁用它。 不建议禁用此模式。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation anon.strict_mode

anon.transparent_dynamic_masking

Attribute 价值
类别 自定义选项
Description 新的掩码引擎(实验性)。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation anon.transparent_dynamic_masking

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_level

Attribute 价值
类别 自定义选项
Description 计划的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,info,notice,warning,log
参数类型 dynamic
Documentation auto_explain.log_level

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_settings

Attribute 价值
类别 自定义选项
Description 记录影响查询计划的已修改配置参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_settings

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,anon,azure_ai,azure_storage,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hll,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,oracle_fdw,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,postgres_protobuf,semver,session_variable,sslinfo,tablefunc,tdigest,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure_storage.allow_network_access

Attribute 价值
类别 自定义选项
Description 允许从 azure_storage 扩展访问 Azure 存储 BLOB 服务。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.allow_network_access

azure_storage.blob_block_size_mb

Attribute 价值
类别 自定义选项
Description PUT blob 操作的 blob 块大小(以兆字节为单位)。
数据类型 整数
默认值 取决于分配给服务器的资源(vCore、RAM 或磁盘空间)。
允许的值 1024
参数类型 只读的
Documentation azure_storage.blob_block_size_mb

特定于 Azure 的注释

预配 Azure Database for PostgreSQL 灵活服务器的实例时,会根据为其计算选择的产品名称计算 azure_storage.blob_block_size_mb 参数的默认值。 如果对支持该灵活服务器的计算进行任何后续产品选择更改,该实例的 azure_storage.blob_block_size_mb 服务器参数的默认值不受任何影响。

截止目前,如果你更改分配给实例的产品,则无法调整 azure_storage.blob_block_size_mb 参数的值,因为该参数已声明为只读。

用于计算 azure_storage.blob_block_size_mb 值的公式是 MIN(3072, MAX(128, memoryGiB * 32))

根据上一个公式,下表列出了此服务器参数将设置为的值,具体取决于预配的内存量:

内存大小 azure_storage.blob_block_size_mb
2 GiB 128 MiB
4 GiB 128 MiB
8 GiB 256 MiB
16 GiB 512 MiB
32 GiB 1024 MiB
48 GiB 1536 MiB
64 GiB 2048 MiB
80 GiB 2560 MiB
128 GiB 3072 MiB
160 GiB 3072 MiB
192 GiB 3072 MiB
256 GiB 3072 MiB
384 GiB 3072 MiB
432 GiB 3072 MiB
672 GiB 3072 MiB

azure_storage.log_level

Attribute 价值
类别 自定义选项
Description azure_storage 扩展使用的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,debug,log,info,notice,warning,error
参数类型 dynamic
Documentation azure_storage.log_level

Azure存储.公共账户访问 (azure_storage.public_account_access)

Attribute 价值
类别 自定义选项
Description 允许所有用户访问没有凭据的存储帐户中的数据,存储帐户访问权限配置为公共。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation azure_storage.public_account_access

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.enable_superuser_jobs

Attribute 价值
类别 自定义选项
Description 允许以超级用户身份安排作业。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.enable_superuser_jobs

cron.host

Attribute 价值
类别 自定义选项
Description 要连接到 PostgreSQL 数据库的主机名。 使用后台辅助角色时,此设置不起作用。
数据类型 字符串
默认值 /tmp
允许的值 /tmp
参数类型 只读的
Documentation cron.host

cron.launch_active_jobs

Attribute 价值
类别 自定义选项
Description 启动被定义为活动的作业。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation cron.launch_active_jobs

cron.log_min_messages

Attribute 价值
类别 自定义选项
Description 启动器 bgworker 的 log_min_messages。
数据类型 枚举
默认值 warning
允许的值 warning
参数类型 只读的
Documentation cron.log_min_messages

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

cron.timezone

Attribute 价值
类别 自定义选项
Description 指定用于 cron 计划的时区。
数据类型 枚举
默认值 GMT
允许的值 GMT
参数类型 只读的
Documentation cron.timezone

cron.use_background_workers

Attribute 价值
类别 自定义选项
Description 使用后台工作者而不是客户端会话。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation cron.use_background_workers

pgaadauth.enable_group_sync

Attribute 价值
类别 自定义选项
Description 启用对 Entra ID 组成员的同步。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pg_failover_slots.drop_extra_slots

Attribute 价值
类别 自定义选项
Description 是否删除与 pg_failover_slots.synchronize_slot_names 不匹配的额外备用槽位。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_failover_slots.drop_extra_slots

pg_failover_slots.primary_dsn

Attribute 价值
类别 自定义选项
Description 用于在备用服务器上同步逻辑复制槽的主服务器连接串。 如果为空,则使用默认值primary_conninfo。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pg_failover_slots.primary_dsn

pg_failover_slots.standby_slot_names

Attribute 价值
类别 自定义选项
Description 在解码插件发送更改之前,必须确认的槽名称列表。 物理复制槽列表,在输出插件将某个 LSN 之前的提交复制到逻辑对等方之前,必须确认该 LSN 的持久化刷新。 在逻辑复制之前强制执行物理复制的顺序。
数据类型 字符串
默认值 azure_standby_, wal_replica_
允许的值 azure_standby_, wal_replica_
参数类型 只读的
Documentation pg_failover_slots.standby_slot_names

pg_failover_slots.standby_slots_min_confirmed

Attribute 价值
类别 自定义选项
Description pg_failover_slots.standby_slot_names 的槽位数量,这些槽位必须确认 LSN。 修改 pg_failover_slots.standby_slot_names 的行为,以便在至少有 pg_failover_slots.standby_slots_min_confirmed 个物理对等方确认该事务已成功持久刷新之后,能够对事务进行逻辑复制。 值 -1(默认值)表示 pg_failover_slots.standby_slot_names 中的所有条目必须确认写入。 当取值为 0 时,pg_failover_slots.standby_slots_min_confirmed 将被有效地忽略。
数据类型 整数
默认值 1
允许的值 1
参数类型 只读的
Documentation pg_failover_slots.standby_slots_min_confirmed

pg_failover_slots.synchronize_slot_names

Attribute 价值
类别 自定义选项
Description 要从主服务器同步到物理备用服务器的插槽列表。
数据类型 字符串
默认值 name_like:%%
允许的值 name_like:%%
参数类型 只读的
Documentation pg_failover_slots.synchronize_slot_names

pg_failover_slots.version

Attribute 价值
类别 自定义选项
Description pg_failover_slots模块版本。
数据类型 字符串
默认值 1.0.1
允许的值 1.0.1
参数类型 只读的
Documentation pg_failover_slots.version

pg_failover_slots.wait_for_inactive_slots

Attribute 价值
类别 自定义选项
Description 是否要等待主服务器上处于闲置状态的复制槽位来与备用服务器同步。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_failover_slots.wait_for_inactive_slots

pg_hint_plan.debug_print

Attribute 价值
类别 自定义选项
Description 记录提示分析的结果。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.debug_print

pg_hint_plan.enable_hint

Attribute 价值
类别 自定义选项
Description 强制规划器使用查询前面的提示注释中指定的计划。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_hint_plan.enable_hint

pg_hint_plan.enable_hint_table

Attribute 价值
类别 自定义选项
Description 让 pg_hint_plan 去查找提示表。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pg_hint_plan.enable_hint_table

pg_hint_plan.message_level

Attribute 价值
类别 自定义选项
Description 调试消息的消息级别。
数据类型 枚举
默认值 log
允许的值 log
参数类型 只读的
Documentation pg_hint_plan.message_level

pg_hint_plan.parse_messages

Attribute 价值
类别 自定义选项
Description 解析错误的信息级别。
数据类型 枚举
默认值 info
允许的值 info
参数类型 只读的
Documentation pg_hint_plan.parse_messages

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

Attribute 价值
类别 自定义选项
Description 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 dynamic
Documentation pglogical.conflict_log_level

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.extra_connection_options

Attribute 价值
类别 自定义选项
Description 添加到所有对等节点连接的连接选项。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.extra_connection_options

pglogical.synchronous_commit

Attribute 价值
类别 自定义选项
Description pglogical 特定的同步提交值。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation pglogical.synchronous_commit

pglogical.temp_directory

Attribute 价值
类别 自定义选项
Description 用于存储本地还原用的备份文件的目录。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation pglogical.temp_directory

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_prewarm.autoprewarm

Attribute 价值
类别 自定义选项
Description 启动自动预热工作线程。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_prewarm.autoprewarm

pg_prewarm.autoprewarm_interval

Attribute 价值
类别 自定义选项
Description 设置共享缓冲区转储之间的间隔。 如果设置为 0,则禁用基于时间的转储。
数据类型 整数
默认值 300
允许的值 300
参数类型 只读的
Documentation pg_prewarm.autoprewarm_interval

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers

squeeze.max_xlock_time

Attribute 价值
类别 自定义选项
Description 已处理表可以被独占锁定的最长时间。 源表在处理的最后阶段以独占方式锁定。 如果锁定时间应超过此值,则会释放锁,最后阶段将重试几次。
数据类型 整数
默认值 0
允许的值 0
参数类型 只读的
Documentation squeeze.max_xlock_time

squeeze.worker_autostart

Attribute 价值
类别 自定义选项
Description 后台工作线程自动启动的数据库的名称。 群集启动完成后立即开始压缩工作线程的数据库的逗号分隔列表。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_autostart

squeeze.worker_role

Attribute 价值
类别 自定义选项
Description 后台工作者连接数据库时使用的角色。 如果在群集启动时自动启动后台工作进程,它将使用此角色来启动数据库连接。
数据类型 字符串
默认值
允许的值
参数类型 只读的
Documentation squeeze.worker_role

timescaledb.bgw_launcher_poll_time

Attribute 价值
类别 自定义选项
Description 启动器超时值(以毫秒为单位)。 配置启动器等待查找新的 TimescaleDB 实例的时间。
数据类型 整数
默认值 60000
允许的值 60000
参数类型 只读的
Documentation timescaledb.bgw_launcher_poll_time

timescaledb.disable_load

Attribute 价值
类别 自定义选项
Description 禁用实际扩展的加载。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation timescaledb.disable_load

timescaledb.max_background_workers

Attribute 价值
类别 自定义选项
Description 分配给 TimescaleDB 的最大后台工作线程数。 分配给 TimescaleDB 的最大后台工作线程 - 设置为至少 1 + Postgres 实例中的数据库数量,以使用后台工作线程。
数据类型 整数
默认值 16
允许的值 16
参数类型 只读的
Documentation timescaledb.max_background_workers

auto_explain.log_analyze

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN ANALYZE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_analyze

auto_explain.log_buffers

Attribute 价值
类别 自定义选项
Description 记录缓冲区使用情况。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_buffers

auto_explain.log_format

Attribute 价值
类别 自定义选项
Description 用于记录计划的 EXPLAIN 格式。
数据类型 枚举
默认值 text
允许的值 text,xml,json,yaml
参数类型 dynamic
Documentation auto_explain.log_format

auto_explain.log_min_duration

Attribute 价值
类别 自定义选项
Description 设置记录计划的最低执行时间阈值,只有超过此执行时间的计划才会被记录。 零表示输出所有计划。 -1 关闭此功能。
数据类型 整数
默认值 -1
允许的值 -1-2147483647
参数类型 dynamic
Documentation auto_explain.log_min_duration

auto_explain.log_nested_statements

Attribute 价值
类别 自定义选项
Description 记录嵌套语句。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_nested_statements

auto_explain.log_timing

Attribute 价值
类别 自定义选项
Description 收集计时数据,而不仅仅是行计数。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_timing

auto_explain.log_triggers

Attribute 价值
类别 自定义选项
Description 在计划中包括触发器统计信息。 除非还设置了 log_analyze,否则这不起作用。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_triggers

auto_explain.log_verbose

Attribute 价值
类别 自定义选项
Description 使用 EXPLAIN VERBOSE 记录计划。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation auto_explain.log_verbose

auto_explain.sample_rate

Attribute 价值
类别 自定义选项
Description 要处理的查询的占比。
数据类型 数字
默认值 1.0
允许的值 0.0-1.0
参数类型 dynamic
Documentation auto_explain.sample_rate

azure.接受的密码认证方法

Attribute 价值
类别 自定义选项
Description 接受的密码身份验证方法。
数据类型 set
默认值 md5
允许的值 md5,scram-sha-256
参数类型 dynamic
Documentation azure.accepted_password_auth_method

azure.allow_hostname_in_username

Attribute 价值
类别 自定义选项
Description 指定是否允许在 Azure Database for PostgreSQL 灵活服务器的用户名中使用主机名。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

azure.enable_temp_tablespaces_on_local_ssd

Attribute 价值
类别 自定义选项
Description 在临时磁盘上创建临时表空间。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

azure.extensions

Attribute 价值
类别 自定义选项
Description 指定允许在服务器中创建哪些扩展。
数据类型 set
默认值
允许的值 address_standardizer,address_standardizer_data_us,amcheck,anon,bloom,btree_gin,btree_gist,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,hypopg,intagg,intarray,isn,lo,login_hook,ltree,orafce,pageinspect,pg_buffercache,pg_cron,pg_freespacemap,pg_hint_plan,pg_partman,pg_prewarm,pg_repack,pg_squeeze,pg_stat_statements,pg_trgm,pg_visibility,pgaudit,pgcrypto,pglogical,pgrouting,pgrowlocks,pgstattuple,plpgsql,plv8,postgis,postgis_raster,postgis_sfcgal,postgis_tiger_geocoder,postgis_topology,postgres_fdw,semver,session_variable,sslinfo,tablefunc,tds_fdw,timescaledb,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp,vector
参数类型 dynamic
Documentation azure.extensions

azure.single_to_flex_migration

Attribute 价值
类别 自定义选项
Description 指定这是否是为从 Azure Database for PostgreSQL 单一服务器迁移到灵活服务器而创建的服务器。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation

connection_throttle.bucket_limit

Attribute 价值
类别 自定义选项
Description 每个 Bucket 的最大登录令牌数。
数据类型 整数
默认值 2000
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.enable

Attribute 价值
类别 自定义选项
Description 启用基于 IP 的临时连接限制,以应对过多的登录失败。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation

connection_throttle.factor_bias

Attribute 价值
类别 自定义选项
Description 用于计算 IP Bucket 的令牌数的因子偏差。
数据类型 数字
默认值 0.8
允许的值 0.0-0.9
参数类型 dynamic
Documentation

connection_throttle.hash_entries_max

Attribute 价值
类别 自定义选项
Description 登录失败哈希表中的最大条目数。
数据类型 整数
默认值 500
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.reset_time

Attribute 价值
类别 自定义选项
Description 重置登录 Bucket 的间隔时间。
数据类型 整数
默认值 120
允许的值 1-2147483647
参数类型 dynamic
Documentation

connection_throttle.restore_factor

Attribute 价值
类别 自定义选项
Description 对失败率较低的 IP 增加令牌数时所使用的因子。
数据类型 数字
默认值 2
允许的值 1.0-100.0
参数类型 dynamic
Documentation

connection_throttle.update_time

Attribute 价值
类别 自定义选项
Description 更新登录 Bucket 的间隔时间。
数据类型 整数
默认值 20
允许的值 1-2147483647
参数类型 dynamic
Documentation

cron.数据库名称

Attribute 价值
类别 自定义选项
Description 设置在其中保留 pg_cron 元数据的数据库。
数据类型 字符串
默认值 postgres
允许的值 [A-Za-z0-9_]+
参数类型 静态的
Documentation cron.database_name

cron.log_run

Attribute 价值
类别 自定义选项
Description 将所有作业运行记录到 job_run_details 表中。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_run

cron.log_statement

Attribute 价值
类别 自定义选项
Description 在执行之前记录所有 cron 语句。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 静态的
Documentation cron.log_statement

cron.max_running_jobs

Attribute 价值
类别 自定义选项
Description 设置可并发运行的作业数量上限。 此值受 max_connections 限制。
数据类型 整数
默认值 32
允许的值 0-5000
参数类型 静态的
Documentation cron.max_running_jobs

pgaudit.log

Attribute 价值
类别 自定义选项
Description 指定会话审核日志将记录哪些语句类。
数据类型 set
默认值 none
允许的值 none,read,write,function,role,ddl,misc,all
参数类型 dynamic
Documentation pgaudit.log

pgaudit.log_catalog

Attribute 价值
类别 自定义选项
Description 指定在语句中的所有关系都处于 pg_catalog 的情况下,应启用会话日志记录。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_catalog

pgaudit.log_client

Attribute 价值
类别 自定义选项
Description 指定审核消息是否应对客户端可见。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_client

pgaudit.log_level

Attribute 价值
类别 自定义选项
Description 指定将用于日志条目的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,log
参数类型 dynamic
Documentation pgaudit.log_level

pgaudit.log_parameter

Attribute 价值
类别 自定义选项
Description 指定审核日志应包含随语句一起传递的参数。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_parameter

pgaudit.log_relation

Attribute 价值
类别 自定义选项
Description 指定会话审核日志记录是否应为 SELECT 或 DML 语句中引用的每个关系创建单独的日志条目。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_relation

pgaudit.log_statement_once

Attribute 价值
类别 自定义选项
Description 指定在日志记录中,语句文本和参数是仅在语句/子语句组合的第一个日志条目中包含,还是在每个条目中都包含。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pgaudit.log_statement_once

pgaudit.role

Attribute 价值
类别 自定义选项
Description 指定要用于对象审核日志的主角色。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pgaudit.role

pglogical.batch_inserts

Attribute 价值
类别 自定义选项
Description 如果可能,请告知 PGLogical 使用批量插入机制。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pglogical.batch_inserts

pglogical.conflict_log_level

Attribute 价值
类别 自定义选项
Description 设置当 pglogical.conflict_resolution 设置为除 error 以外的任何值时报告检测到的冲突的日志级别。
数据类型 枚举
默认值 log
允许的值 debug5,debug4,debug3,debug2,debug1,info,notice,warning,error,log,fatal,panic
参数类型 dynamic
Documentation pglogical.conflict_log_level

pglogical.conflict_resolution (冲突解决)

Attribute 价值
类别 自定义选项
Description 设置本地数据和传入更改之间检测到的任何冲突的解决方法。
数据类型 枚举
默认值 apply_remote
允许的值 error,apply_remote,keep_local,last_update_wins,first_update_wins
参数类型 dynamic
Documentation pglogical.conflict_resolution

pglogical.use_spi

Attribute 价值
类别 自定义选项
Description 告知 PGLogical 使用 SPI 接口形成实际 SQL(INSERT、UPDATE、DELETE)语句来应用传入更改,而不是使用内部低级别接口。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pglogical.use_spi

pgms_stats.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation

pgms_wait_sampling.history_period

Attribute 价值
类别 自定义选项
Description 设置等待事件采样的频率(以毫秒为单位)。
数据类型 整数
默认值 100
允许的值 1-600000
参数类型 dynamic
Documentation pgms_wait_sampling.history_period

pgms_wait_sampling.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为“关闭”,则会禁用等待采样,即使为 pgms_wait_sampling.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pgms_wait_sampling.is_enabled_fs

pgms_wait_sampling.query_capture_mode

Attribute 价值
类别 自定义选项
Description 选择 pgms_wait_sampling 扩展跟踪哪些语句。
数据类型 枚举
默认值 none
允许的值 all,none
参数类型 dynamic
Documentation pgms_wait_sampling.query_capture_mode

pg_partman_bgw.analyze

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_analyze 参数的用途相同。
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.analyze

pg_partman_bgw.dbname

Attribute 价值
类别 自定义选项
Description 必填。 用于运行 run_maintenance() 的数据库。 如果存在多个数据库,请使用逗号分隔的列表。 如果未设置,BGW 将不执行任何操作。
数据类型 字符串
默认值
允许的值 [A-Za-z0-9_,-]*
参数类型 dynamic
Documentation pg_partman_bgw.dbname

pg_partman_bgw.interval

Attribute 价值
类别 自定义选项
Description 调用 run_maintenance() 的间隔秒数。
数据类型 整数
默认值 3600
允许的值 1-315360000
参数类型 dynamic
Documentation pg_partman_bgw.interval

pg_partman_bgw.jobmon

Attribute 价值
类别 自定义选项
Description 与 run_maintenance() 的 p_jobmon 自变量的用途相同。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_partman_bgw.jobmon

pg_partman_bgw.role

Attribute 价值
类别 自定义选项
Description 用于运行 run_maintenance() 的角色。 默认值为 postgres。 仅支持单个角色名称。
数据类型 字符串
默认值
允许的值 [A-Za-z\\._]*
参数类型 dynamic
Documentation pg_partman_bgw.role

pg_qs.interval_length_minutes

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的 query_store 捕获间隔(以分钟为单位)- 这是持久保存数据的频率。
数据类型 整数
默认值 15
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.interval_length_minutes

pg_qs.is_enabled_fs

Attribute 价值
类别 自定义选项
Description 仅供内部使用:此参数用作功能替代开关。 如果显示为关闭,将禁用查询存储,即使为 pg_qs.query_capture_mode 设置了值,也会禁用。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation pg_qs.is_enabled_fs

pg_qs.max_plan_size

Attribute 价值
类别 自定义选项
Description 为 pg_qs 设置将要保存的查询计划文本最大字节数;过长的计划会被截断。
数据类型 整数
默认值 7500
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_plan_size

pg_qs.max_query_text_length

Attribute 价值
类别 自定义选项
Description 设置将保存的最大查询文本长度;将截断较长的查询。
数据类型 整数
默认值 6000
允许的值 100-10000
参数类型 dynamic
Documentation pg_qs.max_query_text_length

pg_qs.parameters_capture_mode

Attribute 价值
类别 自定义选项
Description 是否以及何时捕获查询位置参数。
数据类型 枚举
默认值 capture_parameterless_only
允许的值 capture_parameterless_only,capture_first_sample
参数类型 dynamic
Documentation pg_qs.parameters_capture_mode

pg_qs.query_capture_mode

Attribute 价值
类别 自定义选项
Description 设置查询存储库的查询捕获模式。 “无”表示禁用所有捕获。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_qs.query_capture_mode

pg_qs.retention_period_in_days

Attribute 价值
类别 自定义选项
Description 设置 pg_qs 的保留期窗口(以天为单位)- 数据将在此时间之后删除。
数据类型 整数
默认值 7
允许的值 1-30
参数类型 dynamic
Documentation pg_qs.保留周期(天)

pg_qs.store_query_plans

Attribute 价值
类别 自定义选项
Description 为 pg_qs 启用或禁用查询计划
数据类型 布尔
默认值 off
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.store_query_plans

pg_qs.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_qs 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_qs.track_utility

pg_stat_statements.max

Attribute 价值
类别 自定义选项
Description 设置 pg_stat_statements 跟踪的语句数量上限。
数据类型 整数
默认值 5000
允许的值 100-2147483647
参数类型 静态的
Documentation pg_stat_statements.max

pg_stat_statements.save

Attribute 价值
类别 自定义选项
Description 每次服务器关机后保存 pg_stat_statements 统计信息。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.save

pg_stat_statements.track

Attribute 价值
类别 自定义选项
Description 控制 pg_stat_statements 对哪些语句进行计数。
数据类型 枚举
默认值 none
允许的值 top,all,none
参数类型 dynamic
Documentation pg_stat_statements.track

pg_stat_statements.track_utility

Attribute 价值
类别 自定义选项
Description 选择是否通过 pg_stat_statements 跟踪实用工具命令。
数据类型 布尔
默认值 on
允许的值 on,off
参数类型 dynamic
Documentation pg_stat_statements.track_utility

postgis.gdal_enabled_drivers

Attribute 价值
类别 自定义选项
Description 控制已启用 postgis GDAL 的驱动程序设置。
数据类型 枚举
默认值 DISABLE_ALL
允许的值 DISABLE_ALL,ENABLE_ALL
参数类型 dynamic
Documentation postgis.gdal_enabled_drivers