Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1c8302c

Browse files
committed
Add comment on why deadlock detection error messages only prints numbers.
1 parent0240b28 commit1c8302c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/backend/storage/lmgr/deadlock.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/backend/storage/lmgr/deadlock.c,v 1.46 2007/03/03 19:32:54 neilc Exp $
15+
* $PostgreSQL: pgsql/src/backend/storage/lmgr/deadlock.c,v 1.47 2007/04/20 20:15:52 momjian Exp $
1616
*
1717
*Interface:
1818
*
@@ -836,6 +836,8 @@ PrintLockQueue(LOCK *lock, const char *info)
836836
* Append a description of a lockable object to buf.
837837
*
838838
* XXX probably this should be exported from lmgr.c or some such place.
839+
* Ideally we would print names for the numeric values, but that requires
840+
* getting locks on system tables, which might cause problems.
839841
*/
840842
staticvoid
841843
DescribeLockTag(StringInfobuf,constLOCKTAG*lock)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp