Commit Graph

2883 Commits

Author SHA1 Message Date
Wolfgang Walther
79734b0c08
postgresqlPackages.pg_cron: 1.6.4 -> 1.6.5
Changelog:
https://github.com/citusdata/pg_cron/releases/tag/v1.6.5
2024-12-12 18:40:48 +01:00
Wolfgang Walther
47b88fb0eb
postgresqlPackages.sqlite_fdw: 2.4.0 -> 2.5.0
Changelog:
https://github.com/pgspider/sqlite_fdw/releases/tag/v2.5.0
2024-12-11 21:36:12 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Wolfgang Walther
e23d551fb8
postgresqlPackages.pg_partman: 5.1.0 -> 5.2.1 (#361698) 2024-12-07 20:32:45 +01: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
github-actions[bot]
3dec3c32af
Merge master into staging-next 2024-11-30 18:04:14 +00: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
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
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
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
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
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
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
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
Maximilian Bosch
a0a51776ed
Merge: postgresqlPackages.sqlite_fdw: init at 2.4.0 (#350353) 2024-11-17 14:52:22 +01:00
Maximilian Bosch
f370530f87
Merge: postgresql.pkgs.pg_embedding: remove (#356526) 2024-11-17 13:40:26 +01:00
Maximilian Bosch
97a911e8fb
Merge: nixos/postgresql: extension based hardening relaxation (#355010) 2024-11-16 22:29:36 +01:00
Maximilian Bosch
7239af0a72
postgresql.pkgs.pg_embedding: remove
As discussed in #351306, this is scheduled for removal after 24.11
branchoff.
2024-11-16 21:20:25 +01:00
Martin Weinelt
d370af0785
nixos/postgresql: create infrastructure for relaxing systemd hardening
By matching on the package names of the plugins passed into the package
we can relax the systemd unit hardening as needed.
2024-11-16 17:29:34 +01:00
Wolfgang Walther
a7daa5426b
postgresqlPackages.repmgr: 5.4.1 -> 5.5.0 2024-11-16 14:03:07 +01:00
Wolfgang Walther
12d32a5946
postgresqlPackages.plpgsql_check: 2.7.5 -> 2.7.12 2024-11-16 14:03:07 +01:00
Wolfgang Walther
1e8e3d000f
postgresqlPackages.pgvector: 0.6.2 -> 0.8.0 2024-11-16 14:03:07 +01:00
Wolfgang Walther
2b9fc77f89
postgresqlPackages.pgsql-http: 1.6.0 -> 1.6.1 2024-11-16 14:03:07 +01:00
Wolfgang Walther
34bcb530b1
postgresqlPackages.pgrouting: 3.6.3 -> 3.7.0 2024-11-16 14:03:07 +01:00
Wolfgang Walther
1f44f94ad3
postgresqlPackages.pgroonga: 3.2.3 -> 3.2.4 2024-11-16 14:03:07 +01:00
Wolfgang Walther
b0187db369
postgresqlPackages.pgmq: 1.4.4 -> 1.4.5 2024-11-16 14:03:06 +01:00
Wolfgang Walther
796e44d168
postgresqlPackages.pg_uuidv7: 1.5.0 -> 1.6.0 2024-11-16 14:03:06 +01:00
Wolfgang Walther
e7b11ef572
postgresqlPackages.pg_repack: 1.5.0 -> 1.5.1 2024-11-16 14:03:06 +01:00
Wolfgang Walther
a65bd1adef
postgresqlPackages.pg_net: 0.8.0 -> 0.13.0 2024-11-16 14:03:06 +01:00
Wolfgang Walther
448763cd4b
postgresqlPackages.pg_bigm: 1.2-20200228 -> 1.2-20240606 2024-11-16 14:03:06 +01:00
Wolfgang Walther
7c19e85065
postgresqlPackages.periods: 1.2.2 -> 1.2.3 2024-11-16 14:03:06 +01:00
Wolfgang Walther
e87aa28b9c
postgresqlPackages.lantern: 0.4.1 -> 0.5.0 2024-11-16 14:03:06 +01:00
Wolfgang Walther
53b1df6254
postgresqlPackages.h3-pg: 4.1.3 -> 4.1.4 2024-11-16 14:03:05 +01:00
Wolfgang Walther
0dbbc3c5f9
postgresqlPackages.citus: 12.1.2 -> 12.1.6 2024-11-16 13:09:36 +01:00
Wolfgang Walther
68254e438c
postgresqlPackages: enable update scripts by default
This enables update scripts via buildPostgresqlExtension. Extensions
must actively opt-out, if they don't support either the default
configuration or the unstable configuration.

To make the update script work, some extensions had to be changed to
pull their code from GitHub instead. Those with PostgreSQL-style version
tags (REL_X_Y) had to be changed to make src.rev the source of truth.
2024-11-16 13:09:35 +01:00
Maximilian Bosch
0b3eef7441
postgresql_12: remove
This will be EOL at the end of November, so there's little reason to
keep it in 24.11[1]. As discussed, we'd like to keep it for as long as
possible to make sure there's a state in nixpkgs that has the latest
minor of postgresql_12 available with the most recent CVEs fixed for
people who cannot upgrade[2].

This aspect has been made explicit in the manual now for the next .11
release.

During the discussions it has been brought up that if people just do
`services.postgresql.enable = true;` and let the code decide the
postgresql version based on `system.stateVersion`, there's a chance that
such EOL dates will be missed. To make this harder, a warning will now
be raised when using the stateVersion-condition and the oldest still
available major is selected.

Additionally regrouped the postgresql things in the release notes to
make sure these are all shown consecutively. Otherwise it's a little
hard to keep track of all the changes made to postgresql in 24.11.

[1] https://endoflife.date/postgresql
[2] https://github.com/NixOS/nixpkgs/pull/353158#issuecomment-2453056692
2024-11-15 09:17:06 +01:00