Fix obsolete comment. Zdenek Kotala

This commit is contained in:
Heikki Linnakangas 2009-02-07 10:49:36 +00:00
parent a3a7d47275
commit b75b66332a
1 changed files with 4 additions and 10 deletions

View File

@ -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/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)
(errmsg("incorrect checksum in control file")));
/*
* Do compatibility checking immediately. We do this here for 2 reasons:
*
* (1) if the database isn't compatible with the backend executable, we
* 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.)
* Do compatibility checking immediately. If the database isn't
* compatible with the backend executable, we want to abort before we
* can possibly do any damage.
*/
if (ControlFile->catalog_version_no != CATALOG_VERSION_NO)
ereport(FATAL,