PgPedia 周报, 2023-09-03
PostgreSQL 16 文章
- 使用 PostgreSQL 中的 origin 过滤实现双向复制作者: Vignesh C / Fujitsu
PostgreSQL 17 文章
- 等待 PostgreSQL 17 - 为 log_connections 下的“trust”连接生成新日志 - depesz 于 2023 年 9 月发布的博客文章
- 等待 PostgreSQL 17 - 添加 to_bin() 和 to_oct()。 - depesz 于 2023 年 9 月发布的博客文章
PostgreSQL 17 变更
log_connections
log_connections 现在显式记录没有 authn ID 的连接,例如 trust 连接(提交 e48b19c5)。
在 PostgreSQL 16 及更早版本中,trust 连接记录如下:
[2023-08-30 08:37:17 JST] [unknown] [unknown] [unknown] LOG: 00000: connection received: host=127.0.0.1 port=35392 [2023-08-30 08:37:17 JST] [unknown] postgres postgres LOG: 00000: connection authorized: user=postgres database=postgres application_name=psql
而在 PostgreSQL 17 及更高版本中:
[2023-08-30 08:39:29 JST] [unknown] postgres postgres LOG: 00000: connection authenticated: user="postgres" method=trust (/var/lib/pgsql/data/pg_hba.conf:5) [2023-08-30 08:39:29 JST] [unknown] postgres postgres LOG: 00000: connection authorized: user=postgres database=postgres application_name=psql
PostgreSQL 提交的值得关注的变更
- e09d763e (2023-09-01):
ATPrepAddPrimaryKey: 忽略非 PK 约束 - e8d74ad6 (2023-08-31):
扫描结束时报告 syncscan 位置。 - d0fe3046 (2023-08-30):
在 pg_stat_get_backend_subxact() 中使用实际的后端 ID。 - 3d51cb51 (2023-08-30):
重命名 pgstat* 视图的一些支持函数。 - 3c662643 (2023-08-30):
允许 pgbench 在任何客户端中止时立即退出。 - 9b581c53 (2023-08-29):
不允许更改非空约束的 NO INHERIT 状态 - 63956bed (2023-08-29):
将 logical_replication_mode 重命名为 debug_logical_replication_streaming回溯到 ~ 16 - f347ec76 (2023-08-29):
允许 \watch 查询在返回最少行数时停止 - f593c551 (2023-08-29):
调整 pg_promote() 以报告 kill() 或 postmaster 故障时的失败情况 - 617f9b7d (2023-08-28):
收紧内部值中的单位解析 - 165d581f (2023-08-28):
收紧对间隔值中“ago”的处理
请注意,提交按其在提交日志中的出现顺序显示,这可能不反映单个提交的创建日期。
请参阅 PostgreSQL GIT 提交日志 查看完整的提交列表。
新 PgPedia 条目
本周没有新增条目。
最后...
如果有遗漏,或您有任何(建设性的)想法,请留下您的反馈和/或买杯咖啡。
发表评论
