Bump PG_CONTROL_VERSION for previous 9.4 changes

Enterprise / PostgreSQL - Tom Lane [sss.pgh.pa.us] - 4 June 2014 17:16 UTC

This should have been done in 6bc8ef0b7f1f1df3998745a66e1790e27424aa0c and/or 50e547096c4858a68abf09894667a542cc418315, but better late than never. If we don't change this then we risk 9.3 pg_controldata or pg_resetxlog being inappropriately used against a 9.4 pg_control file, or vice versa.

###

diff --git a/src/include/catalog/pg_control.h b/src/include/catalog/pg_control.h
index 05c5b74..4579eb6 100644
--- a/src/include/catalog/pg_control.h
+++ b/src/include/catalog/pg_control.h
@@ -21,7 +21,7 @@


/* Version identifier for this pg_control format */
-#define PG_CONTROL_VERSION 937
+#define PG_CONTROL_VERSION 941

/*
* Body of CheckPoint XLOG records. This is declared here because we keep

eeca4cd Bump PG_CONTROL_VERSION for previous 9.4 changes.
src/include/catalog/pg_control.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: git.postgresql.org


  • Share