349 Commits

Author SHA1 Message Date
jeremy
105ddce147 Update to PostgreSQL 15.1
Bulk testing and help tb@

OK tb@
2022-11-16 02:59:22 +00:00
sthen
81d581665c bump for MODPY_DEFAULT_VERSION_3 change 2022-11-13 15:27:35 +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
espie
737fb8bb76 zap a few PKGNAME-sub which are now default
(and also duplicated EPOCH-sub which make little sense in db/{v3,v4}
2021-11-22 13:55:54 +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
8ad2bb9a3a bump REVISION for switch from Python 3.8 -> 3.9 2021-11-02 00:00:12 +00:00
sthen
cf1ee95c1f bump to keep -current version above -stable due to difference in deps 2021-09-10 14:10:43 +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
jca
b4aabb96cb Work around the lack of a native spinlock implementation on riscv64 2021-07-11 23:05:06 +00:00
sthen
350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +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
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39: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
zhuk
5d1ad0f6ea Create postgres (super)user by default after creating test DB cluster.
This was in my tree for ages, triggered again by thread on ports@.
Since this port module is used only for tests, bulk builds won't be affected.

@afresh1 agress this is a nice thing to have by default.
2019-12-16 19:14:09 +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
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +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
sthen
303723b2d8 Use gcc to build postgresql on i386 to unbreak. In 10.6, an explicit
check was added to prevent building on clang/i386 unless either -msse2
is used (restricting cpu support which we don't want), or the compiler
gains support for -fexcess-precision=standard.

Discussion leading up to the added check:
https://www.postgresql.org/message-id/flat/20180904161624.57e68b3a%40fafnir.local.vm

Upstream commit:
https://github.com/postgres/postgres/commit/bd1463e348fcf

ok pea@
2018-12-05 12:12:51 +00:00
sthen
7e07414812 - Remove mismerged patch (fix was already committed upstream but the
patch wasn't removed, so duplicated some Makefile lines).

- Set SONAME correctly for the libraries. A symlink (libpq.so -> libpq.so.N.M)
is present during build. Internal programs linking with "-lpq" on arches using
LLD get "NEEDED libpq.so" from the symlink instead of the correct "libpq.so.N.M".
Override this by setting -soname (similar to what upstream are doing, but the
library minor was missing in their version).
2018-12-03 16:22:08 +00:00
pea
5dfc5642c2 fix dependencies
spotted by aja@

ok sthen@
2018-12-02 12:27:12 +00:00
pea
d8997a6e46 Update to 10.6
ok jeremy@
2018-12-01 17:48:03 +00:00