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

Commitd51b271

Browse files
Change errcode for lock_timeout to match NOWAIT
Set errcode to ERRCODE_LOCK_NOT_AVAILABLEZoltán Bsöszörményi
1 parentf177cbf commitd51b271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/tcop/postgres.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2900,7 +2900,7 @@ ProcessInterrupts(void)
29002900
DisableNotifyInterrupt();
29012901
DisableCatchupInterrupt();
29022902
ereport(ERROR,
2903-
(errcode(ERRCODE_QUERY_CANCELED),
2903+
(errcode(ERRCODE_LOCK_NOT_AVAILABLE),
29042904
errmsg("canceling statement due to lock timeout")));
29052905
}
29062906
if (get_timeout_indicator(STATEMENT_TIMEOUT, true))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp