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

Commit9f133d2

Browse files
committed
Remove duplocate lock_timeout value.
1 parente037c35 commit9f133d2

File tree

1 file changed

+2
-9
lines changed
  • src/backend/storage/lmgr

1 file changed

+2
-9
lines changed

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

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.22 1997/09/18 20:21:39 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.23 1997/10/30 17:23:59 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -46,7 +46,7 @@
4646
*This is so that we can support more backends. (system-wide semaphore
4747
*sets run out pretty fast.) -ay 4/95
4848
*
49-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.22 1997/09/18 20:21:39 momjian Exp $
49+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.23 1997/10/30 17:23:59 momjian Exp $
5050
*/
5151
#include<sys/time.h>
5252
#include<unistd.h>
@@ -79,13 +79,6 @@
7979
staticvoidHandleDeadLock(intsig);
8080
staticPROC*ProcWakeup(PROC*proc,interrType);
8181

82-
/*
83-
* timeout (in seconds) for resolving possible deadlock
84-
*/
85-
#ifndefDEADLOCK_TIMEOUT
86-
#defineDEADLOCK_TIMEOUT60
87-
#endif
88-
8982
/* --------------------
9083
* Spin lock for manipulating the shared process data structure:
9184
* ProcGlobal.... Adding an extra spin lock seemed like the smallest

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp