Commit Graph

2448 Commits

Author SHA1 Message Date
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
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
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
Emily
b54dcbddce postgresqlPackages.apache_datasketches: unpin Boost 2024-11-25 08:53:38 +00: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
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
Wolfgang Walther
f4ef8018ac postgresql_16: 16.5 -> 16.6
Release notes:
https://www.postgresql.org/about/news/postgresql-172-166-1510-1415-1318-and-1222-released-2965/
2024-11-22 18:46:26 +01:00
Wolfgang Walther
256921e7d3 postgresql_15: 15.9 -> 15.10
Release notes:
https://www.postgresql.org/about/news/postgresql-172-166-1510-1415-1318-and-1222-released-2965/
2024-11-22 18:45:58 +01:00
Wolfgang Walther
3aa011583b postgresql_14: 14.14 -> 14.15
Release notes:
https://www.postgresql.org/about/news/postgresql-172-166-1510-1415-1318-and-1222-released-2965/
2024-11-22 18:45:41 +01:00
Wolfgang Walther
41dcc3c974 postgresql_13: 13.17 -> 13.18
Release notes:
https://www.postgresql.org/about/news/postgresql-172-166-1510-1415-1318-and-1222-released-2965/
2024-11-22 18:45:24 +01:00
Emily
9031f2db8b Merge staging-next into staging 2024-11-21 03:49:12 +00:00
Wolfgang Walther
31b9d15443 postgresqlPackages.postgis: remove wolfgangwalther from maintainers
I am now notified as member of the NixOS/postgres team about changes.
2024-11-20 22:27:52 +01:00
Maximilian Bosch
f10fc704df Merge: postgresqlPackages.timescaledb: 2.14.2 -> 2.17.2; adopt, nixfmt; postgresqlPackages.timescaledb_toolkit: 1.18.0 -> 1.19.0 (#348223) 2024-11-20 22:25:14 +01:00
Kirill Radzikhovskyy
7baa9da552 postgresqlPackages.timescaledb_toolkit: switch to cargo-pgrx_0_12_6 2024-11-21 06:33:38 +11:00
Kirill Radzikhovskyy
c273eb28b6 postgresqlPackages.timescaledb_toolkit: 1.18.0 -> 1.19.0
Release notes: https://github.com/timescale/timescaledb-toolkit/releases/tag/1.19.0
2024-11-20 17:23:20 +11:00
Kirill Radzikhovskyy
993b24e1a1 postgresqlPackages.timescaledb: nixfmt 2024-11-20 17:23:20 +11:00
Kirill Radzikhovskyy
86706a140b postgresqlPackages.timescaledb: 2.14.2 -> 2.17.2
Changes:
 - https://github.com/timescale/timescaledb/releases/tag/2.17.2
 - https://github.com/timescale/timescaledb/releases/tag/2.17.1
 - https://github.com/timescale/timescaledb/releases/tag/2.17.0
 - https://github.com/timescale/timescaledb/releases/tag/2.16.1
 - https://github.com/timescale/timescaledb/releases/tag/2.16.0
 - https://github.com/timescale/timescaledb/releases/tag/2.15.3
 - https://github.com/timescale/timescaledb/releases/tag/2.15.2
 - https://github.com/timescale/timescaledb/releases/tag/2.15.1
 - https://github.com/timescale/timescaledb/releases/tag/2.15.0

squash
2024-11-20 17:23:11 +11:00
github-actions[bot]
160537bba1 Merge staging-next into staging 2024-11-20 00:15:23 +00:00
Maximilian Bosch
8ceedba559 Merge: postgresqlPackages: enable update scripts and update many packages (#356283) 2024-11-19 22:31:23 +01:00
Kirill Radzikhovskyy
4099ca5139 postgresqlPackages.timescaledb: add kirillrdy to maintainers 2024-11-20 06:42:53 +11:00
github-actions[bot]
a467369a68 Merge staging-next into staging 2024-11-18 06:05:35 +00:00
Gregor Giesen
60533972ec pg-semver: init at 0.40.0
release notes: https://github.com/theory/pg-semver/blob/main/Changes
2024-11-17 19:25:50 +01:00