当发生死锁时,postgres 日志文件中的 "tuple (0,79)" 是什么意思?

What does "tuple (0,79)" in postgres log file mean when a deadlock happened?

在 postgres 日志中:

2016-12-23 15:28:14 +07 [17281-351 trns: 4280939, vtrns: 3/20] postgres@deadlocks HINT:  See server log for query details.
2016-12-23 15:28:14 +07 [17281-352 trns: 4280939, vtrns: 3/20] postgres@deadlocks CONTEXT:  while locking tuple (0,79) in relation "account"
2016-12-23 15:28:14 +07 [17281-353 trns: 4280939, vtrns: 3/20] postgres@deadlocks STATEMENT:  SELECT id FROM account where id= for update;

当我引发僵局时,我可以看到文本:tuple (0,79)

据我所知,一个元组就是 table 中的几行。但是我不明白 (0,79) 是什么意思。我的table账号只有2行,只是玩自学的应用。

那么(0,79)是什么意思呢?

This is the data type of the system column ctid. A tuple ID is a pair (block number, tuple index within block) that identifies the physical location of the row within its table.

阅读https://www.postgresql.org/docs/current/static/datatype-oid.html

表示块号0,行索引79

还阅读了http://rachbelaid.com/introduction-to-postgres-physical-storage/

还有 运行 SELECT id,ctid FROM account where id= 有权 查看...