Commit Graph

4033 Commits

Author SHA1 Message Date
Wolfgang Walther
e23d551fb8 postgresqlPackages.pg_partman: 5.1.0 -> 5.2.1 (#361698) 2024-12-07 20:32:45 +01:00
K900
5f9439fc05 Merge remote-tracking branch 'origin/master' into staging-next 2024-12-05 15:08:18 +03:00
Gaetan Lepage
0809ab6602 materialize: move to by-name 2024-12-05 01:11:10 +01:00
Gaetan Lepage
162733d9a2 materialize: format 2024-12-05 01:11:10 +01:00
R. Ryantm
7695b70193 postgresqlPackages.pg_partman: 5.1.0 -> 5.2.1 2024-12-04 08:22:23 +00:00
Maximilian Bosch
fc5a956d75 Merge: pkgsStatic.postgresql: fix build (#345289) 2024-12-01 15:51:11 +01:00
K900
007b4f3e71 Merge remote-tracking branch 'origin/staging-next' into staging 2024-12-01 10:29:27 +03:00
github-actions[bot]
3dec3c32af Merge master into staging-next 2024-11-30 18:04:14 +00:00
Wolfgang Walther
a77adf3285 postgresql: add -export_dynamic on darwin only for v16 2024-11-30 17:52:59 +01:00
Wolfgang Walther
3bd9f92eae pkgsStatic.postgresql: fix build
The underlying problem was fixed as a side-effect of [1], for reasons
unknown to me. In the current state, it's enough to disable a few
breaking dependencies to make the build pass.

Note, that this builds the full package, including backend. However, the
backend is not working, yet: Loading shared modules, which PostgreSQL
heavily depends is still broken. Further, all binaries in the default
output, even client binaries such as psql, are currently dynamically
linked against libpq.so. While the current autoconf based build system
doesn't support changing this, this might be possible in the future with
meson.

However, not all is bad: Fixing the build allows using the static
libpq.a library, which is probably the one thing that most users want
from pkgsStatic.postgresql anyway.

Resolves #191920

[1]: 77977286d8
2024-11-30 17:02:13 +01:00
Wolfgang Walther
445371f309 postgresql: enable strictDeps 2024-11-30 17:02:13 +01:00
Maximilian Bosch
ef7dc14ab4 postgresql: drop build-time dependency on GHC
This replaces `writeShellApplication` with `writeShellScriptBin` that
doesn't perform a shellcheck. This makes it way easier to build
postgresql on staging since GHC is super slow to build, even with pretty
powerful machines.

Also Haskell updates are currently merged straight into master which
means that postgresql and all reverse dependencies require a rebuild on
master then[1].

[1] https://github.com/NixOS/nixpkgs/pull/354270#issuecomment-2463196665

(cherry picked from commit 4cd083a3cd)
(cherry picked from commit a40d887561)
2024-11-30 15:11:09 +01:00
Wolfgang Walther
88cd14d0f2 postgresql_16: 16.4 -> 16.5
Release Notes:
https://www.postgresql.org/about/news/postgresql-171-165-159-1414-1317-and-1221-released-2955/

(cherry picked from commit 797b544bda)
(cherry picked from commit 77ea13f377)
2024-11-30 15:11:08 +01:00
Maximilian Bosch
a1d35315ca Merge: postgresqlPackages.pg-gvm: move from top-level package (#359421) 2024-11-30 14:15:53 +01:00
Wolfgang Walther
511b0843c7 postgresqlPackages.pg-gvm: move from top-level package
This is a PostgreSQL extension, which only works properly when made
available in the postgresql.pkgs package set.
2024-11-30 14:07:25 +01:00
Maximilian Bosch
65b948d415 Merge: stdenv.mkDerivation: support output checks with and without structuredAttrs (#357054) 2024-11-30 12:35:30 +01:00
github-actions[bot]
1ae7d136e8 Merge staging-next into staging 2024-11-30 00:04:18 +00:00
Thomas Gerbet
954f9b947a percona-server_8_0: 8.0.37-29 -> 8.0.39-30
Changes:
https://docs.percona.com/percona-server/8.0/release-notes/8.0.39-30.html
https://docs.percona.com/percona-server/8.0/release-notes/8.0.38.html

Fixes:
* CVE-2024-21171
* CVE-2024-21177
* CVE-2024-21163
* CVE-2024-21173
* CVE-2024-21179
* CVE-2024-21127
* CVE-2024-21129
* CVE-2024-21125
* CVE-2024-21130
* CVE-2024-21162
* CVE-2024-21165
* CVE-2024-21142
* CVE-2024-21134
2024-11-28 12:31:21 +01:00
Thomas Gerbet
2fbd23ab9e percona-server: 8.4.0-1 -> 8.4.2-2
Changes:
https://docs.percona.com/percona-server/8.4/release-notes/8.4.2-2.html
https://docs.percona.com/percona-server/8.4/release-notes/8.4.1.html

Fixes
* CVE-2024-21171
* CVE-2024-21177
* CVE-2024-21163
* CVE-2024-21176
* CVE-2024-20996
* CVE-2024-21157
* CVE-2024-21179
* CVE-2024-21127
* CVE-2024-21129
* CVE-2024-21125
* CVE-2024-21130
* CVE-2024-21162
* CVE-2024-21142
* CVE-2024-21134
2024-11-28 12:26:33 +01:00
Wolfgang Walther
5bff902d5e stdenv.mkDerivation: avoid depending on derivations passed in outputChecks
This was added for non-structuredAttrs output checks in #211783. Here we
extend the same concept to structuredAttrs-enabled outputChecks, too.

The postgresql package worked around this with some conditionals. Those
can now be removed - without causing LLVM to be built or substituted.
2024-11-25 18:46:07 +01:00
Philip Taron
4261e7fbdf various: fixes for strictDeps = true (#355844) 2024-11-25 09:14:02 -08:00
Emily
5196464c7e various: unpin Boost (round 2) (#358944) 2024-11-25 14:59:40 +00:00
Emily
bf1a2b2ba6 various: fix build with GCC 14 (#357774) 2024-11-25 11:45:55 +00:00
Emily
b54dcbddce postgresqlPackages.apache_datasketches: unpin Boost 2024-11-25 08:53:38 +00:00
FliegendeWurst
9f6ea15cc0 mariadb-server: use DBDMariaDB insteady of mysql 2024-11-25 08:53:40 +01:00
Maximilian Bosch
f910c98b10 Merge: postgresql: fix pgxs Makefile for darwin (#358566) 2024-11-24 12:59:47 +01:00
K900
15bb2bfa54 Merge remote-tracking branch 'origin/staging-next' into staging 2024-11-24 10:18:58 +03:00
Wolfgang Walther
b924334c41 postgresql: fix pgxs Makefile for darwin
The darwin specific Makefile contains a reference to the postgres
binary. Some extensions are able to set bindir to their own output
correctly for installation and will then fail to find the postgres
binaryin their own output during linking.

PostGIS worked around this by faking a postgres binary in their own
output, but we can do better by hardcoding the proper path in the
Makefile when PostgreSQL is built.
2024-11-23 21:43:33 +01:00
Maximilian Bosch
5ec5cdaffa Merge: postgresql: enable tests on darwin (#358248) 2024-11-23 21:04:12 +01:00
Wolfgang Walther
9869d7f746 postgresql: enable tests on darwin
The tests were disabled in #62752.  The problem is System Integrity
Protection on macOS, which resets DYDL_LIBRARY_PATH and thus breaks the
temporary installation of PostgreSQL.  By running the checks *after* the
installPhase, the libraries will already be available in the default
locations.
2024-11-23 19:58:50 +01:00
Wolfgang Walther
f51153540e postgresql: remove globin and ivan from maintainers
No response for 3 weeks to:
https://github.com/NixOS/nixpkgs/pull/352905#discussion_r1826066338
2024-11-23 19:54:29 +01:00
github-actions[bot]
47c4a8d45e Merge staging-next into staging 2024-11-23 18:04:31 +00:00
Wolfgang Walther
62b175ed21 postgresqlPackages.{pgvecto-rs,timescaledb_toolkit}: fix build on darwin
cargo-pgrx runs a temporary PostgreSQL cluster when building. This needs
to run with unix sockets only, otherwise it breaks in the darwin
sandbox.
2024-11-23 18:02:41 +01:00
Robert Schütz
e0bf198048 Revert "postgresqlPackages.pgvecto-rs: 0.3.0 -> 0.4.0"
This reverts commit 80e13b1032.
2024-11-23 08:50:30 -08:00
Wolfgang Walther
4aa1cda21f postgresql: add bonjourSupport option 2024-11-23 17:11:59 +01:00
Wolfgang Walther
b492340e98 postgresql: add nlsSupport option 2024-11-23 17:11:59 +01:00
Wolfgang Walther
cb8a1c74f3 postgresql: add selinuxSupport option 2024-11-23 17:11:59 +01:00
Wolfgang Walther
ac3961828b postgresql: add tclSupport option 2024-11-23 17:11:59 +01:00
Wolfgang Walther
1d6870f81e postgresql: add ldapSupport option 2024-11-23 17:11:59 +01:00
Wolfgang Walther
53c64f04a7 postgresql: add perlSupport option 2024-11-23 17:11:59 +01:00
Wolfgang Walther
5f7a1e814c postgresql: make icu optional 2024-11-23 17:11:59 +01:00
Wolfgang Walther
6bafc8f578 postgresql: make PAM optional 2024-11-23 17:11:59 +01:00
Wolfgang Walther
a2128516a7 postgresql: sort and group dependencies
A bit of structure and much more diff-friendly.
2024-11-23 17:11:58 +01:00
K900
35125588e3 Merge remote-tracking branch 'origin/staging-next' into staging 2024-11-23 15:08:40 +03:00
Maximilian Bosch
b065f1014b Merge: postgresql: 13.17 -> 13.18, 14.14 -> 14.15, 15.9 -> 15.10, 16.5 -> 16.6, 17.1 -> 17.2 (#358213) 2024-11-23 11:31:49 +01:00
Diogo Correia
03a3e2acec postgresqlPackages.pgvecto-rs: run nixfmt 2024-11-23 09:57:09 +00:00
Diogo Correia
80e13b1032 postgresqlPackages.pgvecto-rs: 0.3.0 -> 0.4.0 2024-11-23 09:57:08 +00:00
FliegendeWurst
9aabeccb8c mysql8: fix strictDeps = true 2024-11-23 10:49:06 +01:00
github-actions[bot]
468547492b Merge staging-next into staging 2024-11-22 18:05:01 +00:00
Wolfgang Walther
6aa3d74242 postgresql_17: 17.1 -> 17.2
Release notes:
https://www.postgresql.org/about/news/postgresql-172-166-1510-1415-1318-and-1222-released-2965/
2024-11-22 18:46:40 +01:00