暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

PostgreSQL 14 preview - 逻辑订阅报错信息增强 - Display the names of missing columns in error during logical replication.

digoal 2020-10-10
415

作者

digoal

日期

2020-10-10

标签

PostgreSQL , logical replication


背景

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=f07707099c17e7ff66eac7d38cbd1148672f7ee4

```
author Amit Kapila akapila@postgresql.org
Wed, 7 Oct 2020 10:44:19 +0800 (08:14 +0530)
committer Amit Kapila akapila@postgresql.org
Wed, 7 Oct 2020 10:44:19 +0800 (08:14 +0530)
commit f07707099c17e7ff66eac7d38cbd1148672f7ee4
tree b2692c5890ffe04878deefcc2652cff27d895588 tree | snapshot
parent 069179767f79c03381056b23ded0a54156674456 commit | diff

Display the names of missing columns in error during logical replication.

In logical replication when a subscriber is missing some columns, it
currently emits an error message that says "some" columns are missing, but
it doesn't specify the missing column names. Change that to display
missing column names which makes an error to be more informative to the
user.

We have decided not to backpatch this commit as this is a minor usability
improvement and no user has reported this.

Reported-by: Bharath Rupireddy
Author: Bharath Rupireddy
Reviewed-by: Kyotaro Horiguchi and Amit Kapila
Discussion: https://postgr.es/m/CALj2ACVkW-EXH_4pmBK8tNeHRz5ksUC4WddGactuCjPiBch-cg@mail.gmail.com
```

PostgreSQL 许愿链接

您的愿望将传达给PG kernel hacker、数据库厂商等, 帮助提高数据库产品质量和功能, 说不定下一个PG版本就有您提出的功能点. 针对非常好的提议,奖励限量版PG文化衫、纪念品、贴纸、PG热门书籍等,奖品丰富,快来许愿。开不开森.

9.9元购买3个月阿里云RDS PostgreSQL实例

PostgreSQL 解决方案集合

德哥 / digoal's github - 公益是一辈子的事.

digoal's wechat

文章转载自digoal,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论