diff options
| author | Alvaro Herrera | 2005-11-03 17:11:40 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2005-11-03 17:11:40 +0000 |
| commit | 902377c465031947d747bb2e3912b22a92329b7f (patch) | |
| tree | 6586e15af12609b6135275d06d2339adc669a94e /src/backend/postmaster | |
| parent | 76c9ac8ebbba391c3062bf10cc6d8b187746b6eb (diff) | |
Rename the members of CommandDest enum so they don't collide with other uses of
those names. (Debug and None were pretty bad names anyway.) I hope I catched
all uses of the names in comments too.
Diffstat (limited to 'src/backend/postmaster')
| -rw-r--r-- | src/backend/postmaster/postmaster.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 956dbf98739..4f19284ba79 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.472 2005/10/22 14:27:28 adunstan Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.473 2005/11/03 17:11:36 alvherre Exp $ * * NOTES * @@ -906,13 +906,13 @@ PostmasterMain(int argc, char *argv[]) SysLoggerPID = SysLogger_Start(); /* - * Reset whereToSendOutput from Debug (its starting state) to None. This - * stops ereport from sending log messages to stderr unless + * Reset whereToSendOutput from DestDebug (its starting state) to DestNone. + * This stops ereport from sending log messages to stderr unless * Log_destination permits. We don't do this until the postmaster is * fully launched, since startup failures may as well be reported to * stderr. */ - whereToSendOutput = None; + whereToSendOutput = DestNone; /* * Initialize the statistics collector stuff @@ -2654,7 +2654,7 @@ BackendRun(Port *port) * Must do this now because authentication uses libpq to send messages. */ pq_init(); /* initialize libpq to talk to client */ - whereToSendOutput = Remote; /* now safe to ereport to client */ + whereToSendOutput = DestRemote; /* now safe to ereport to client */ /* * We arrange for a simple exit(0) if we receive SIGTERM or SIGQUIT during |
