例如,如果调用下面的脚本,PostgreSQL 会显示什么行为
BEGIN; SELECT * FROM foo; INSERT INTO foo(name) VALUES ('bar'); BEGIN; <- The point of interest END;
PostgreSQL 会丢弃第二个BEGIN还是隐式决定提交,然后BEGIN END在最后将块作为单独的事务运行?
BEGIN
END
postgresql transaction postgresql-9.3
postgresql ×1
postgresql-9.3 ×1
transaction ×1