Commit b75b6633 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix obsolete comment. Zdenek Kotala

parent a3a7d472
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.329 2009/01/23 11:19:34 heikki Exp $ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.330 2009/02/07 10:49:36 heikki Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -4045,15 +4045,9 @@ ReadControlFile(void) ...@@ -4045,15 +4045,9 @@ ReadControlFile(void)
(errmsg("incorrect checksum in control file"))); (errmsg("incorrect checksum in control file")));
/* /*
* Do compatibility checking immediately. We do this here for 2 reasons: * Do compatibility checking immediately. If the database isn't
* * compatible with the backend executable, we want to abort before we
* (1) if the database isn't compatible with the backend executable, we * can possibly do any damage.
* want to abort before we can possibly do any damage;
*
* (2) this code is executed in the postmaster, so the setlocale() will
* propagate to forked backends, which aren't going to read this file for
* themselves. (These locale settings are considered critical
* compatibility items because they can affect sort order of indexes.)
*/ */
if (ControlFile->catalog_version_no != CATALOG_VERSION_NO) if (ControlFile->catalog_version_no != CATALOG_VERSION_NO)
ereport(FATAL, ereport(FATAL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment