Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Factor out PostgreSQL support matrix.
Alex Vandiver65f1f83dac7c
diff --git a/docs/production/postgresql-support-table.md b/docs/production/postgresql-support-table.mdnew file mode 100644index 00000000000..898bd45f1a3--- /dev/null+++ b/docs/production/postgresql-support-table.md@@ -0,0 +1,8 @@+| Zulip Server version | Supported versions of PostgreSQL |+| -------------------- | -------------------------------- |+| 3.x | 9.3, 9.5, 9.6, 10, 11, 12 |+| 4.x | 9.3, 9.5, 9.6, 10, 11, 12, 13 |+| 5.x | 10, 11, 12, 13, 14 |+| 6.x | 11, 12, 13, 14 |+| 7.x | 12, 13, 14, 15 |+| 8.x | 12, 13, 14, 15, 16 |diff --git a/docs/production/postgresql.md b/docs/production/postgresql.mdindex 10dcade5d2b..ebd3a310b79 100644--- a/docs/production/postgresql.md+++ b/docs/production/postgresql.md@@ -1,14 +1,14 @@# PostgreSQL database detailsStarting with Zulip 3.0, Zulip supports a range of PostgreSQL-versions. PostgreSQL 16 is the current default for new installations;-PostgreSQL 12, 13, 14, 15, and 16 are all supported.--Previous versions of Zulip used whatever version of PostgreSQL was-included with the base operating system (E.g. PostgreSQL 14 on Ubuntu-22.04). We recommend that installations currently using older-PostgreSQL releases [upgrade to PostgreSQL 15][upgrade-postgresql], as-we may drop support for older PostgreSQL in a future release.+versions:++```{include} postgresql-support-table.md++```++We recommend that installations [upgrade to the latest+PostgreSQL][upgrade-postgresql] supported by their version of Zulip.[upgrade-postgresql]: upgrade.md#upgrading-postgresqldiff --git a/docs/production/upgrade.md b/docs/production/upgrade.mdindex d4b302f0776..c785c0f0531 100644--- a/docs/production/upgrade.md+++ b/docs/production/upgrade.md@@ -702,14 +702,9 @@ running Ubuntu 22.04.Not all versions of Zulip Server support all versions of PostgreSQL, however:-| Zulip Server version | Supported versions of PostgreSQL |-| -------------------- | -------------------------------- |-| 3.x | 9.3, 9.5, 9.6, 10, 11, 12 |-| 4.x | 9.3, 9.5, 9.6, 10, 11, 12, 13 |-| 5.x | 10, 11, 12, 13, 14 |-| 6.x | 11, 12, 13, 14 |-| 7.x | 12, 13, 14, 15 |-| 8.x | 12, 13, 14, 15, 16 |+```{include} postgresql-support-table.md++```To upgrade the version of PostgreSQL on the Zulip server: