汉斯-于尔根·舍尼格:PostgreSQL中的错误:当前事务已中止
Whenever you actively use transaction blocks in PostgreSQL “ERROR: current transaction is aborted, commands ignored until end of transaction block” is by far most often seen error message of them...
PostgreSQL常见错误消息是“ERROR: current transaction is aborted, commands ignored until end of transaction block”。使用SAVEPOINT可以确保成功的事务。学习SAVEPOINT和子事务可以编写更好、更高效的代码。
