首页 > TAG信息列表 > msmydb
pg mvcc
Session A:mydb=# select * from car; id | name ----+------ 1 | aa 2 | bb(2 rows)Time: 0.264 msmydb=# begin;BEGINTime: 0.069 msmydb=*# delete from car;DELETE 2Time: 0.227 msmydb=*# select pg_current_xact_id(); pg_current_xact_id --------------------