Advance PG_CONTROL_VERSION.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jul 2016 16:49:14 +0000 (12:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Jul 2016 16:49:14 +0000 (12:49 -0400)
This should have been done in commit 73c986adde5d73a5 which added several
new fields to pg_control, and again in commit 5028f22f6eb05798 which
changed the CRC algorithm, but it wasn't.  It's far too late to fix it in
the 9.5 branch, but let's do so in 9.6, so that if a 9.6 postmaster is
started against a 9.4-era pg_control it will complain about a versioning
problem rather than a CRC failure.  We already forced initdb/pg_upgrade
for beta3, so there's no downside to doing this now.

Discussion: <7615.1468598094@sss.pgh.pa.us>

src/include/catalog/pg_control.h

index fefcac84328bdba0e208964972ff0bafc29b236d..0bc41abee5e8f5d44ab78e379f5970ef871651ba 100644 (file)
@@ -21,7 +21,7 @@
 
 
 /* Version identifier for this pg_control format */
-#define PG_CONTROL_VERSION     942
+#define PG_CONTROL_VERSION     960
 
 /*
  * Body of CheckPoint XLOG records.  This is declared here because we keep