Skip to content

Commit

Permalink
Advance PG_CONTROL_VERSION.
Browse files Browse the repository at this point in the history
This should have been done in commit 73c986a which added several
new fields to pg_control, and again in commit 5028f22 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: <[email protected]>
  • Loading branch information
tglsfdc committed Jul 16, 2016
1 parent bfa2ab5 commit 99dd8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/catalog/pg_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99dd8b0

Please sign in to comment.