diff options
| author | Heikki Linnakangas | 2009-02-23 09:28:50 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2009-02-23 09:28:50 +0000 |
| commit | bc134d7a51ebe086ceef3efd2e2b385e8296692f (patch) | |
| tree | 4448d07618d201d66051f7b400b4821ddeb18afb /src/include | |
| parent | 451a15f95cbe501ee46e821bfb06c8b9afa5cf6a (diff) | |
Change the signaling of end-of-recovery. Startup process now indicates end
of recovery by exiting with exit code 0, like in previous releases. Per
Tom's suggestion.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/pmsignal.h | 3 | ||||
| -rw-r--r-- | src/include/storage/proc.h | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/include/storage/pmsignal.h b/src/include/storage/pmsignal.h index 6d2b827c011..bd6cff154ef 100644 --- a/src/include/storage/pmsignal.h +++ b/src/include/storage/pmsignal.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/pmsignal.h,v 1.22 2009/02/18 15:58:41 heikki Exp $ + * $PostgreSQL: pgsql/src/include/storage/pmsignal.h,v 1.23 2009/02/23 09:28:50 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -24,7 +24,6 @@ typedef enum { PMSIGNAL_RECOVERY_STARTED, /* recovery has started */ PMSIGNAL_RECOVERY_CONSISTENT, /* recovery has reached consistent state */ - PMSIGNAL_RECOVERY_COMPLETED, /* recovery has completed */ PMSIGNAL_PASSWORD_CHANGE, /* pg_auth file has changed */ PMSIGNAL_WAKEN_ARCHIVER, /* send a NOTIFY signal to xlog archiver */ PMSIGNAL_ROTATE_LOGFILE, /* send SIGUSR1 to syslogger to rotate logfile */ diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index dccea9fa7ad..b250d3f0f2d 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.111 2009/02/19 08:02:32 heikki Exp $ + * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.112 2009/02/23 09:28:50 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -138,12 +138,13 @@ typedef struct PROC_HDR /* * We set aside some extra PGPROC structures for auxiliary processes, * ie things that aren't full-fledged backends but need shmem access. - * + * * Background writer, WAL writer, and autovacuum launcher run during - * normal operation. When recovery has just finished, the startup - * process can co-exist with them for a brief period before it exits. + * normal operation. Startup process also consumes one slot, but WAL + * writer and autovacuum launcher are launched only after it has + * exited. */ -#define NUM_AUXILIARY_PROCS 4 +#define NUM_AUXILIARY_PROCS 3 /* configurable options */ |
