在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=$1 for update;
当我触发了死锁时,我可以看到文本:tuple (0,79)
。据我所知,元组只是表中的几行。但是我不明白
(0,79)
是什么意思。我的账户表只有两行,即玩耍和自学应用程序。那么
(0,79)
是什么意思?