PostgreSQL提示cannot execute UPDATE in a read-only transaction,该查哪层?PostgreSQL写入提示read-only transaction时,先区分只读事务设置与连接到备库,再检查会话默认值和应用连接路由。赞(0)2026-10-20VPS问答 阅读(16)