]> granicus.if.org Git - postgresql/commitdiff
Fix obsolete comment. Zdenek Kotala
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 7 Feb 2009 10:49:36 +0000 (10:49 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 7 Feb 2009 10:49:36 +0000 (10:49 +0000)
src/backend/access/transam/xlog.c

index b291b09bcaebabea88bdd055d82a8e8d428b7603..9af551d5761a454cca6fdfbe5a785e7dce8659d1 100644 (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,