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

Commit4c22564

Browse files
committed
Fix off-by-one error in autovacuum shmem struct sizing. This could lead to
autovacuum worker sending SIGUSR1 signal to wrong process, per Zou Yong'sreport.Backpatch to 8.3.
1 parentd1ab3eb commit4c22564

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/postmaster/autovacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*
5656
*
5757
* IDENTIFICATION
58-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.86 2008/11/03 19:03:41 alvherre Exp $
58+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.87 2008/11/12 10:10:32 heikki Exp $
5959
*
6060
*-------------------------------------------------------------------------
6161
*/
@@ -222,7 +222,7 @@ typedef enum
222222
{
223223
AutoVacForkFailed,/* failed trying to start a worker */
224224
AutoVacRebalance,/* rebalance the cost limits */
225-
AutoVacNumSignals=AutoVacRebalance/* must be last */
225+
AutoVacNumSignals/* must be last */
226226
}AutoVacuumSignal;
227227

228228
/*-------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp