1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-12 15:23:02 +03:00

Change error message to be able to differentiate the two cases. Per suggestion

from Jaime Casanova.
This commit is contained in:
Alvaro Herrera
2008-02-20 16:48:12 +00:00
parent 5f4170c6f7
commit f134132abc

View File

@@ -55,7 +55,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.71 2008/01/14 13:39:25 alvherre Exp $ * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.71.2.1 2008/02/20 16:48:12 alvherre Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@@ -352,7 +352,7 @@ StartAutoVacLauncher(void)
{ {
case -1: case -1:
ereport(LOG, ereport(LOG,
(errmsg("could not fork autovacuum process: %m"))); (errmsg("could not fork autovacuum launcher process: %m")));
return 0; return 0;
#ifndef EXEC_BACKEND #ifndef EXEC_BACKEND
@@ -1400,7 +1400,7 @@ StartAutoVacWorker(void)
{ {
case -1: case -1:
ereport(LOG, ereport(LOG,
(errmsg("could not fork autovacuum process: %m"))); (errmsg("could not fork autovacuum worker process: %m")));
return 0; return 0;
#ifndef EXEC_BACKEND #ifndef EXEC_BACKEND