开始一个事务

最近更新时间: 2025-10-11 18:10:00

postgres=# begin;
BEGIN
#或者
postgres=# begin TRANSACTION ; 
BEGIN
#也可以定义事务的级别
postgres=# begin transaction isolation level read committed ;
BEGIN