程序员茄子
全部
编程
代码
资讯
案例
综合
联系我们
SSI 相关技术文章
php
mysql
shell
go
vue
css
api接口对接
支付接口对接
PostgreSQL 40001 有两种:并发更新与 SSI 依赖中止,重试不能只看 SQLSTATE
编程
PostgreSQL 40001 有两种:并发更新与 SSI 依赖中止,重试不能只看 SQLSTATE
2026-11-29 00:06:33
PG 的 40001 在日志里是两条消息:concurrent update 是写冲突(RR/SERIALIZABLE 才抛),read/write dependencies 是 SSI 依赖图里 Tin→Tpivot→Tout 的危险结构。写了 reason code 怎么读、顺序扫描拉出 relation 级谓词锁导致的误杀、max_pred_locks 三个参数的默认值与 53200 的区别,以及整事务重试的六条边界。
数据库事务
PostgreSQL
隔离级别
SSI
锁与并发
重试
大家都在搜索什么?
devops
易支付
一个官网+多少钱
统一接受回调
统一回调
python
sub
node
宝塔日志
mysql
shell
ElasticSearch
css
vue
api接口对接
2025
支付接口对接
go
php
php回调