puppet: Add PostgreSQL 15 support.

Instead of copying over a mostly-unchanged `postgresql.conf`, we
transition to deploying a `conf.d/zulip.conf` which contains the
only material changes we made to the file, which were previously
appended to the end.

While shipping separate while `postgresql.conf` files for each
supported version is useful if there is large variety in supported
options between versions, there is not no such variation at current,
and the burden of overriding the entire default configuration is that
it must be keep up to date wit the package's version.
This commit is contained in:
Alex Vandiver
2023-05-08 15:51:25 +00:00
committed by Tim Abbott
parent 2aae32f642
commit f11350f789
7 changed files with 103 additions and 25 deletions

View File

@@ -1,13 +1,13 @@
# PostgreSQL database details
Starting with Zulip 3.0, Zulip supports a range of PostgreSQL
versions. PostgreSQL 14 is the current default for new installations;
PostgreSQL 12, 13, and 14 are all supported.
versions. PostgreSQL 15 is the current default for new installations;
PostgreSQL 12, 13, 14, and 15 are all supported.
Previous versions of Zulip used whatever version of PostgreSQL was
included with the base operating system (E.g. PostgreSQL 12 on Ubuntu
20.04). We recommend that installations currently using older
PostgreSQL releases [upgrade to PostgreSQL 14][upgrade-postgresql], as
PostgreSQL releases [upgrade to PostgreSQL 15][upgrade-postgresql], as
we may drop support for older PostgreSQL in a future release.
[upgrade-postgresql]: upgrade.md#upgrading-postgresql