Commit Graph

211 Commits

Author SHA1 Message Date
jeremy 1e7a37710f Update to PostgreSQL 17.4
Fixes CVE-2025-1094

OK sthen@
2025-02-22 03:15:44 +00:00
jeremy 53dbd018d5 Update to PostgreSQL 17.2
Bulk testing by tb@
OK tb@
2024-11-23 06:54:15 +00:00
jeremy d5e1a06b9f Update to PostgreSQL 16.4
Fixes CVE-2024-7348: PostgreSQL relation replacement during pg_dump
executes arbitrary SQL
2024-08-12 17:32:01 +00:00
landry cae2746438 databases/postgresql: drop mention of pgadmin3, was removed a year ago 2024-06-01 05:36:58 +00:00
jeremy 96d54f1366 Update to PostgreSQL 16.3
Fixes CVE-2024-4317
2024-05-20 19:14:05 +00:00
jeremy 150dbd716c Update to PostgreSQL 16.2
Fixes CVE-2024-0985: PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY
executes arbitrary SQL
2024-02-10 19:18:10 +00:00
jeremy e18d6ac6e8 Update to PostgreSQL 16.1
This adds textproc/icu4c as a dependency, since PostgreSQL 16 requires
that by default.  This allows additional collations to work.

Bulk testing by tb@

Input from tb@ and sthen@

OK tb@, sthen@
2023-11-29 23:41:15 +00:00
jeremy 147439efcd Update to PostgreSQL 15.4
Use UPDATE_PLIST_ARGS to avoid unnecessary changes by update-plist.

OK sthen@
2023-08-13 20:23:27 +00:00
jeremy 07f39fda04 Update to PostgreSQL 15.3 2023-05-19 17:10:09 +00:00
jeremy 4961e498bb Update recommended kern.seminfo.semmn{i,s} sysctl values in README
Based on ports@ discussion with vtamara.

OK sthen@
2023-02-21 20:14:36 +00:00
jeremy ff4ef95c17 Update to PostgreSQL 15.2 2023-02-11 20:07:27 +00:00
jeremy 105ddce147 Update to PostgreSQL 15.1
Bulk testing and help tb@

OK tb@
2022-11-16 02:59:22 +00:00
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00
jeremy ee5f673c7c Update to PostgreSQL 14.5 2022-08-15 18:07:16 +00:00
ajacoutot 28c1ab6219 Add comment as to why we use rc_exec() for other actions than "start". 2022-05-21 15:36:16 +00:00
ajacoutot 9e45440fb2 Use the rc_exec function instead of ${rcexec}. 2022-05-21 10:50:49 +00:00
jeremy 60aeb449b1 Update to PostgreSQL 14.3
OK danj@
2022-05-14 17:51:54 +00:00
naddy 7a958849ed drop RCS Ids 2022-03-11 18:31:17 +00:00
robert 9658a18f5b set tc back to daemon now that it is limited 2022-02-21 12:51:50 +00:00
robert 2ec574abe3 ship a default login class configuration for postgresql and also remove the
_postgresql user's login class so that it defaults to 'default' instead of
daemon

ok jeremy@
2022-02-17 21:26:30 +00:00
jeremy e369262d2e Update to PostgreSQL 14.2 2022-02-12 21:10:34 +00:00
sthen 51683c6405 register @conflict on old postgresql-docs; errcodes.txt moved
to -main in 12.1.  ok jeremy@
2022-02-04 23:29:30 +00:00
jeremy 8368d58199 Update to PostgreSQL 14.1
Take MAINTAINER.

OK pea@ (previous MAINTAINER), sthen@
2022-01-13 15:59:34 +00:00
robert 0940bd958a set daemon timeout to 300 by default;
databases can take a long time to gracefully shutdown
especially if you have a lot of cached data or you are
swapping and we do not want to kill these processes to
avoid potential dataloss
2021-11-07 14:27:44 +00:00
sthen 089f5a9a63 update to postgresql-13.4, from Mark Patruck, ok pea@
https://www.postgresql.org/docs/13/release-13-4.html
2021-09-10 14:07:45 +00:00
jeremy 7dacf44dc3 Update to PostgreSQL 13.3
Fixes CVE-2021-32029, CVE-2021-32028, CVE-2021-32027.

From Mark Patruck <mark@wrapped.cx>

MAINTAINER (pea@) timeout
2021-06-07 15:14:27 +00:00
sthen 761161322d move postgresql-plsql to python 3, ok jeremy@ daniel@ kn@ pea@ 2021-03-02 15:22:32 +00:00
sthen 68a4d4f55a postgresql tweaks:
- add hidden dep on libexecinfo, which i hadn't disabled as well as i had hoped
- add missing -D in initdb command line in pkg-readme for some use cases
- put back the @ask-update warning as people using some pgsql extensions can't
use pg_upgrade
2021-03-01 13:40:08 +00:00
pea 00253e8c09 Security update to 13.2
ok sthen@
2021-02-11 17:08:42 +00:00
sthen 31563071fe update to PostgreSQL 13.1, mostly from jeremy@, ok jeremy pea danj 2021-02-09 20:01:36 +00:00
sthen bf8415787b adjust postgresql upgrade readme steps; edit pg_hba.conf to support
connecting without passwords *before* copying to the new dir. saves
manually making the same change to two copies of the same file.
ok pea@
2020-11-14 13:03:49 +00:00
pea 942c3665be Security update to 12.5
ok danj@ jeremy@
2020-11-13 19:00:10 +00:00
pea 9bb75d02b2 Update to 12.4
ok jeremy@
2020-09-24 13:11:46 +00:00
jasper 4dacd7479c don't hardcode the PHP version of phppgadmin in README; it was outdated and
in this context it suffices to say it uses PHP
2020-06-14 10:19:46 +00:00
pea 0f9dab0c87 update to 12.3
ok jeremy@
2020-06-02 14:30:32 +00:00
pea fcea4edab5 Update to 12.2
Diff from jeremy@ with small change from me.
ok jeremy@
2020-02-18 15:27:03 +00:00
sthen 33c228d6a4 show people how to diff their old postgresql.conf against something that
will be reasonably close to the one it was based off, making it easier to
id local changes. ok kmos@ kn@ jeremy@ and pea@ (maintainer)
2020-02-12 13:20:34 +00:00
florian c6940b4b80 Add "cd /var/postgresql" to upgrade instructions so that pg_dumpall
and initdb work even if the current working directory is not
accessible by the _postgresql user.
OK kn, jeremy, pea
2020-02-09 09:38:45 +00:00
jeremy 3cc1972172 Major to PostgreSQL 12.1, dump/restore or pg_upgrade needed
Most of the work from pea@
2020-02-06 00:36:12 +00:00
pea d102e2342f Update to 11.6
ok sthen@
2019-11-15 13:19:10 +00:00
awolk 157bc7f8ed Add datadir to default databases/postgresql flags
While here, stop trying to remove postmaster.pid in rc_start as
pg_ctl already handles that.

OK sthen@, pea@
2019-08-27 19:49:46 +00:00
pea 9b2bce81b4 Update to 11.5
ok jeremy@
2019-08-12 16:40:40 +00:00
pea 2b6ec48e1e Upgrade to 11.4.
ok jeremy@
2019-06-21 21:05:36 +00:00
pea 4fb03a5579 Update to 11.3
ok jeremy@
2019-05-11 06:59:58 +00:00
sthen 6c3d700d1d Fix command lines in postgresql pkg-readme dealing with major version upgrades
(6.4->6.5 includes such an upgrade). From Alex Holst, ok naddy@
2019-04-11 15:18:39 +00:00
sthen ff54a4e442 simplify copy-and-pasting for the postgresql README:
- chunk each block together so it can be done in one go rather than
line by line

- remove some unnecessary su(1)'s to reduce the number of multiline
copies

Also, mention about how UTF-8 is used by default if you're running the
commands from a UTF-8 terminal (the "obvious" method of just changing
-E doesn't work in that case).

ok jeremy@, maintainer timeout
2019-03-08 11:48:00 +00:00
pea cfbf2f215f Update to 11.2
ok ajacoutot@ jeremy@
2019-02-19 16:45:46 +00:00
jeremy 29dc904e34 Update to PostgreSQL 11.1
From pea@ (maintainer)
Bulk testing and OK ajacoutot@
2019-02-19 05:09:18 +00:00
pea d8997a6e46 Update to 10.6
ok jeremy@
2018-12-01 17:48:03 +00:00
danj 31bf30b6c3 Tweak README-server
Use UTF-8 encoding by default (requested by Chris Bennett) and use
scram-sha-256 as the auth method.

ok pea@ (maintainer) ok sthen@ (at least for the UTF-8 part)
2018-09-22 00:51:49 +00:00