开发者

How triggers behave wrt concurrent visibility of transactions?

I'm working 开发者_如何学Con PostgreSQL 8.4 in read committed mode. I know that for each query, the server makes a snapshot of db state so that the query behaves consistently. Does it include triggers that are called in response to this query? Or is there a new snapshot created for each query called from within a trigger?


Triggers work in the same transaction as the outer query, it will see the same snapshot.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜