Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bccc8e3

Browse files
committed
Change error message to be able to differentiate the two cases. Per suggestion
from Jaime Casanova.
1 parent 95ea526 commit bccc8e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/postmaster/autovacuum.c

Lines changed: 3 additions & 3 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.71 2008/01/14 13:39:25 alvherre Exp $
58+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.72 2008/02/20 14:01:45 alvherre Exp $
5959
*
6060
*-------------------------------------------------------------------------
6161
*/
@@ -352,7 +352,7 @@ StartAutoVacLauncher(void)
352352
{
353353
case -1:
354354
ereport(LOG,
355-
(errmsg("could not fork autovacuum process: %m")));
355+
(errmsg("could not fork autovacuum launcher process: %m")));
356356
return 0;
357357

358358
#ifndef EXEC_BACKEND
@@ -1400,7 +1400,7 @@ StartAutoVacWorker(void)
14001400
{
14011401
case -1:
14021402
ereport(LOG,
1403-
(errmsg("could not fork autovacuum process: %m")));
1403+
(errmsg("could not fork autovacuum worker process: %m")));
14041404
return 0;
14051405

14061406
#ifndef EXEC_BACKEND

0 commit comments

Comments
 (0)