Commit Graph

2702 Commits

Author SHA1 Message Date
github-actions[bot]
0b0c93bea0
Merge staging-next into staging 2024-08-25 00:14:39 +00:00
David Flanagan
f2a252bf03 sqld: 0.17.2 -> 0.24.18 2024-08-24 21:52:36 +02:00
Wolfgang Walther
050689db30
treewide: fix pg_config / postgresql headers moved to dev output
This was supposed to happen in #294504, but the commit was accidentally
left out when splitting off some libpq-related changes. Originated in
#179962, by Sandro.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2024-08-24 15:44:10 +02:00
Bruno Bigras
c64122f97d postgresqlPackages.hypopg: 1.4.0 -> 1.4.1 2024-08-24 01:10:13 -04:00
Wolfgang Walther
73cb40366d
postgresql: refactor to simplify condition
glibc is not available on darwin anyway and isGnu is just shorter.
2024-08-23 21:37:49 +02:00
Wolfgang Walther
dfde86f738
postgresql: refactor removal of references in bitcode files
This prevents silently ignoring errors from "find".
2024-08-23 21:37:49 +02:00
Wolfgang Walther
94d432ce88
postgresql: remove references to llvm-dev on darwin as well
The !isDarwin condition seems to have been put in place only because of the
use of patchelf, which in turn seemed to be necessary because of nuke-refs.

Replacing the big nuke with the more granular remove-references-to allows
enabling this for darwin, too.
2024-08-23 21:37:49 +02:00
Wolfgang Walther
435f51c37f
postgresql: split dev output
This splits a dev output to make the default output not depend on any
build dependencies anymore. This also avoids removing references from
pgxs' Makefile this way, which should, at least theoretically, be good
to build extensions via pgxs, making sure they use the same tooling.

ecpg is the "embedded SQL C preprocessor", which is certainly a dev
tool.

Most important, for closure size anyway, is to move pg_config to the dev
output, since it retains paths to all the other outputs.

The only thing with references to the dev output remaining is then the
postgres binary itself. It contains all the output paths, because it
shows those in the pg_config system view. There is no other way than
to nuke those references to avoid circular dependencies between outputs
- and blowing up closure size again.
2024-08-23 21:37:49 +02:00
Wolfgang Walther
77977286d8
postgresql: move libecpq to lib output
This library is used by other packages, so should be in the lib output.

By removing unused sections, libecpg will not contain any references to other
outputs and thus does not increase the closure for the lib output anymore.
This will also help massively when splitting a dev output later.

As a side-effect, this also unbreaks pkgsMusl.postgresql_12_jit and
pkgsMusl.postgresql_13_jit. For, at least to me, unknown reasons, those build
fine now.
2024-08-23 21:37:49 +02:00
Wolfgang Walther
5547322a0c
postgresql: move dynamic modules to default output
Dynamic modules are technically libraries, but are not used by other packages.
Instead they are loaded by PostgreSQL itself, e.g. as extensions. Those just
increased the size of the lib output without benefit.

This removes the NIX_PGLIBDIR hack introduced in #17838 and instead makes sure
that pg_config always returns the correct PGLIBDIR. The test for postgis
introduced in the same PR is still passing with the change.
2024-08-23 21:37:43 +02:00
R. Ryantm
733dcef865 mssql_jdbc: 12.8.0 -> 12.8.1 2024-08-23 04:00:00 +00:00
Nick Cao
eda8aafbf8
Merge pull request #335528 from r-ryantm/auto-update/dolt
dolt: 1.42.10 -> 1.42.13
2024-08-22 16:54:28 -04:00
Nick Cao
90bae4aeb4
Merge pull request #335778 from neosimsim/cockroachdb-bin-remove-maintainer-neosimsim
cockroachdb-bin: Remove maintainer neosimsim
2024-08-20 15:20:19 -04:00
Alexander Ben Nasrallah
85f5b4310c cockroachdb-bin: remove neosimsim from meta.maintainers 2024-08-19 12:00:44 +02:00
Alexander Ben Nasrallah
855b8f7f49 cockroach-bin: Update licenses
Update licenses according to

- https://www.cockroachlabs.com/docs/releases/#licenses and
- https://github.com/cockroachdb/cockroach/blob/master/LICENSE
2024-08-19 11:33:18 +02:00
R. Ryantm
b73ddc74b2 dolt: 1.42.10 -> 1.42.13 2024-08-18 06:55:30 +00:00
Peder Bergebakken Sundt
e471916645
treewide: passthru nixos test (#334491) 2024-08-18 00:29:43 +02:00
Kirill Radzikhovskyy
b023a8a2f1 postgresqlPackages.postgis: sha256 -> hash 2024-08-15 13:56:01 +10:00
Kirill Radzikhovskyy
d3c9639c75 postgresqlPackages.postgis: nixfmt-rfc-style 2024-08-15 13:55:26 +10:00
Kirill Radzikhovskyy
068c11900f postgresqlPackages.postgis: enable tests 2024-08-15 13:55:12 +10:00
0x4A6F
67d0a62075
Merge pull request #332445 from helsinki-systems/upd/galera
mariadb-galera: 26.4.19 -> 26.4.20
2024-08-14 17:37:26 +02:00
github-actions[bot]
261f1edcbd
Merge master into staging-next 2024-08-14 06:01:07 +00:00
Sebastián Mancilla
ec99277dbb
Merge pull request #328697 from r-ryantm/auto-update/dolt
dolt: 1.41.3 -> 1.42.10
2024-08-13 21:19:34 -04:00
github-actions[bot]
8674a36b01
Merge master into staging-next 2024-08-12 12:01:27 +00:00
R. Ryantm
a86c86ccf4 rqlite: 8.26.8 -> 8.28.0 2024-08-12 00:39:25 +00:00
R. Ryantm
2645cf2cc6 dolt: 1.41.3 -> 1.42.10 2024-08-11 03:08:54 +00:00
Vladimír Čunát
b99f751acd
Merge #333461: postgres: security+bugfix updates
...into staging-next

https://www.postgresql.org/about/news/postgresql-164-158-1413-1316-1220-and-17-beta-3-released-2910/
2024-08-10 07:26:13 +02:00
github-actions[bot]
68894e5504
Merge master into staging-next 2024-08-10 00:02:11 +00:00
Leona Maroni
7d01494bff
Merge pull request #330085 from joshheinrichs-shopify/fix-percona-server-scripts
percona: fix references to utilities in scripts
2024-08-09 20:03:17 +02:00
Sandro Jäckel
632c9dd1c1
postgresql_16: 16.3 -> 16.4
https://www.postgresql.org/support/security/CVE-2024-7348/
Fixes CVE-2024-7348
2024-08-09 16:19:07 +02:00
Sandro Jäckel
47ed51b959
postgresql_15: 15.7 -> 15.8
https://www.postgresql.org/support/security/CVE-2024-7348/
Fixes CVE-2024-7348
2024-08-09 16:19:07 +02:00
Sandro Jäckel
592b5577ed
postgresql_14: 14.12 -> 14.13
https://www.postgresql.org/support/security/CVE-2024-7348/
Fixes CVE-2024-7348
2024-08-09 16:19:06 +02:00
Sandro Jäckel
e9fbb584ea
postgresql_13: 13.15 -> 13.16
https://www.postgresql.org/support/security/CVE-2024-7348/
Fixes CVE-2024-7348
2024-08-09 16:19:06 +02:00
Sandro Jäckel
84a9400564
postgresql_12: 12.19 -> 12.20
https://www.postgresql.org/support/security/CVE-2024-7348/
Fixes CVE-2024-7348
2024-08-09 16:19:06 +02:00
Martin Weinelt
1e25330d41
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/libraries/SDL2/default.nix
2024-08-09 02:18:56 +02:00
Peder Bergebakken Sundt
d4b7361c84
Merge pull request #311458 from TomaSajt/servers-toplevel-with
Remove usage of top-level `with lib;` from `pkgs/servers`
2024-08-08 22:50:56 +02:00
github-actions[bot]
5ca6720152
Merge master into staging-next 2024-08-06 18:01:00 +00:00
Matthew Bauer
2a13929e1f
postgresqlPackages.timescaledb_toolkit: fix on macos (#332353)
* postgresqlPackages.timescaledb_toolkit: fix on macos

It looks like the macOS linker doesn’t like that some of the symbols
are undefined in the extension. They will be provided by the postgres
binary, but macOS linker checks that all symbols are defined.
Apparently, Linux allows these symbols to be undefined.

The -undefined flag changes this behavior:

> Specifies how undefined symbols are to be treated. Options are:
> error, warning, suppress, or dynamic_lookup. The default is error.

So, setting to dynamic_lookup makes the most sense here, and makes
this package work on macOS. I tried to see if pgvecto-rs, which also
uses buildPgrxExtension, would build. Unfortunately, it gave other
errors.

More information on the bug here: https://github.com/supabase/nix-postgres/issues/10

* Remove stdenv
2024-08-06 10:17:48 -05:00
Simon Hauser
564236b384
mariadb-galera: 26.4.19 -> 26.4.20 2024-08-05 11:50:41 +02:00
Vladimír Čunát
d4720e9c1e
Merge branch 'staging-next' into staging
There was a nontrivial conflict in pkgs/stdenv/linux/bootstrap-tools*
(reorganizing code vs. modifying it)  I hope I really got it right.
2024-08-05 11:05:55 +02:00
Pol Dellaiera
f1abc4affd
Merge pull request #332150 from r-ryantm/auto-update/pgbouncer
pgbouncer: 1.23.0 -> 1.23.1
2024-08-04 22:49:35 +02:00
R. Ryantm
efd3bbab3f pgbouncer: 1.23.0 -> 1.23.1 2024-08-04 03:02:51 +00:00
Nick Cao
f3834de378
Merge pull request #331989 from r-ryantm/auto-update/rqlite
rqlite: 8.26.7 -> 8.26.8
2024-08-03 20:20:25 -04:00
Pol Dellaiera
19bdb0debc
Merge pull request #331608 from LeSuisse/mysql80-8.0.39
mysql80: 8.0.38 -> 8.0.39
2024-08-03 21:19:34 +02:00
R. Ryantm
30d807f937 rqlite: 8.26.7 -> 8.26.8 2024-08-03 13:31:02 +00:00
Thomas Gerbet
ac184d1a52 mysql80: 8.0.38 -> 8.0.39
Changes:
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-39.html
2024-08-01 22:47:51 +02:00
R. Ryantm
1a62464487 mssql_jdbc: 12.6.3 -> 12.8.0 2024-08-01 01:25:11 +00:00
Josh Heinrichs
a5dcd41e27
percona: fix references to utilities in scripts
I encountered errors when attempting to run Vitess which calls out to
mysqld_safe[1]. Several utilities are needed in order for it to run e.g.
grep, sed, env, ps, date, hostname, etc.

Additionally, if ps, kill, and grep aren't available to
scripts/CMakeLists.txt, mysqld_start can end up getting generated with
syntax errors as FIND_PROC will be substituted into the script template
as an empty string[2][3].

The presence of systemd in percona-server_innovation seems to prevent
mysqld_multi from being built on Linux so it gets patched conditionally.

This same patch could be applied to MySQL if desired.

[1]: https://github.com/vitessio/vitess/blob/v20.0.1/go/vt/mysqlctl/mysqld.go#L363-L369
[2]: 79c1086e82/scripts/CMakeLists.txt (L255)
[3]: 79c1086e82/scripts/mysqld_safe.sh (L869)
2024-07-31 09:23:12 -06:00
K900
4f29b5a16b Merge remote-tracking branch 'origin/staging-next' into staging 2024-07-31 08:57:17 +03:00
Adam C. Stephens
a6dba07b71
Merge pull request #331020 from r-ryantm/auto-update/patroni
patroni: 3.3.1 -> 3.3.2
2024-07-30 18:54:24 -04:00
Kirill Radzikhovskyy
1e5b7660b2 postgresql: fix postgis
nixosTests.postgis is failing due to libxml2 update
2024-07-31 07:53:33 +10:00
R. Ryantm
95199cb794 patroni: 3.3.1 -> 3.3.2 2024-07-30 06:13:22 +00:00
Diogo Correia
da5ae1bd60
postgresqlPackages.pgvecto-rs: 0.2.1 -> 0.3.0 2024-07-30 01:23:15 +01:00
Aleksana
56d654d41f
Merge pull request #324978 from ivan/unmaintain-two
prisma-engines, postgresqlPackages.pg_embedding: remove myself from maintainers
2024-07-29 19:36:25 +08:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
github-actions[bot]
09a27d5bc1
Merge master into staging-next 2024-07-23 00:02:18 +00:00
R. Ryantm
3190b1fe74 rqlite: 8.26.6 -> 8.26.7 2024-07-21 22:45:47 +00:00
Vladimír Čunát
3f0fd423e3
postgresql_*: upstream patches to support libxml2-2.13
/cc PR #326637
2024-07-21 08:43:52 +02:00
Vladimír Čunát
577f40b8a9
Merge branch 'staging' into staging-next 2024-07-20 16:12:24 +02:00
Robert Scott
df9f898bae
Merge pull request #327365 from alyssais/mysql-8.0.38
mysql80: 8.0.37 -> 8.0.38
2024-07-20 00:15:05 +01:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
Weijia Wang
f81dd33023
Merge pull request #324517 from r-ryantm/auto-update/mysql_jdbc
mysql_jdbc: 8.4.0 -> 9.0.0
2024-07-15 16:37:43 +02:00
Alyssa Ross
0702caaa2e
mysql80: 8.0.37 -> 8.0.38 2024-07-15 15:08:03 +02:00
Weijia Wang
8aa1f3b2ee
Merge pull request #325991 from r-ryantm/auto-update/monetdb
monetdb: 11.49.9 -> 11.49.11
2024-07-15 14:25:04 +02:00
Aleksana
554ada78db
Merge pull request #314963 from sdier/timescaledb2
timescaledb_toolkit: Fix license metadata to TSL license.
2024-07-14 23:56:07 +08:00
aleksana
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
Nick Cao
06ed3286c8
Merge pull request #325425 from r-ryantm/auto-update/dolt
dolt: 1.41.1 -> 1.41.3
2024-07-10 19:07:32 -04:00
Weijia Wang
f9cf9feff6
Merge pull request #324456 from r-ryantm/auto-update/pgbouncer
pgbouncer: 1.22.1 -> 1.23.0
2024-07-10 12:27:49 +02:00
R. Ryantm
1dfc405d10 monetdb: 11.49.9 -> 11.49.11 2024-07-10 02:06:39 +00:00
R. Ryantm
8c2e9a5f1d rqlite: 8.26.3 -> 8.26.6 2024-07-09 12:37:35 +00:00
R. Ryantm
330b2cf4b1 dolt: 1.41.1 -> 1.41.3 2024-07-08 05:19:02 +00:00
Ivan Kozik
8fbfdcec4a postgresqlPackages.pg_embedding: remove ivan from maintainers 2024-07-06 06:18:15 +00:00
R. Ryantm
c1f87bcacc mysql_jdbc: 8.4.0 -> 9.0.0 2024-07-04 09:19:14 +00:00
R. Ryantm
f7d9d1048c mariadb-galera: 26.4.18 -> 26.4.19 2024-07-04 02:36:41 +00:00
R. Ryantm
12c1235e71 pgbouncer: 1.22.1 -> 1.23.0 2024-07-04 01:33:43 +00:00
R. Ryantm
6ae3fb2ed6 rqlite: 8.26.2 -> 8.26.3 2024-07-02 06:31:10 +00:00
R. Ryantm
3c511b8c62 dolt: 1.41.0 -> 1.41.1 2024-07-01 01:59:18 +00:00
Robert Scott
2b7c73e4a6
Merge pull request #322037 from LeSuisse/mysql-8.0.37
mysql80: 8.0.36 -> 8.0.37
2024-06-30 20:56:18 +01:00
TomaSajt
7f98396a16
mariadb-connector-c: remove top-level with lib; 2024-06-30 12:52:21 +02:00
R. Ryantm
a7cf84d087 rqlite: 8.24.10 -> 8.26.2 2024-06-26 11:16:13 +00:00
R. Ryantm
425a82701a dolt: 1.39.4 -> 1.41.0 2024-06-25 09:17:10 +00:00
Thomas Gerbet
9b648599ea mysql80: 8.0.36 -> 8.0.37
Changes:
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-37.html

Fixes:
* CVE-2024-21047
* CVE-2024-21069
* CVE-2024-21060
* CVE-2024-21087
* CVE-2024-20998
* CVE-2024-21009
* CVE-2024-21054
* CVE-2024-21062
* CVE-2024-21102
* CVE-2024-21096
* CVE-2024-21008
* CVE-2024-21013
* CVE-2024-21000

https://www.oracle.com/security-alerts/cpuapr2024.html#AppendixMSQL
2024-06-23 22:16:44 +02:00
Yt
c07812f979
Merge pull request #320302 from diogotcorreia/pgvecto-rs-fix-rust-1-78
postgresqlPackages.pgvecto-rs: fix build failure on rust 1.78
2024-06-23 00:32:44 +00:00
R. Ryantm
ea50d3d0f1 mssql_jdbc: 12.6.2 -> 12.6.3 2024-06-21 01:21:58 +00:00
Sandro
e5aa50d733
Merge pull request #319256 from shivaraj-bh/system_stats 2024-06-20 12:11:16 +02:00
Simon Hauser
d62d2c6b49
mariadb: 10.5.25, 10.6.18, 10.11.8, 11.0.6 (#315099) 2024-06-19 18:43:50 +02:00
shivaraj-bh
da694466aa system_stats: init at 3.0 2024-06-19 21:18:44 +05:30
Maximilian Bosch
6d8d21411e
Merge pull request #317281 from wolfgangwalther/postgresql-eol-policy
postgresql: add readme with eol-policy
2024-06-18 15:54:37 +00:00
Weijia Wang
458e40ae71
Merge pull request #320577 from r-ryantm/auto-update/patroni
patroni: 3.3.0 -> 3.3.1
2024-06-18 10:16:59 +02:00
R. Ryantm
5f8615de26 patroni: 3.3.0 -> 3.3.1 2024-06-17 17:06:01 +00:00
Leona Maroni
c4cb6eb3c9
Merge pull request #315851 from LeSuisse/v8-mark-vulnerable
v8: mark vulnerable, move dependents to `nodejs.libv8`
2024-06-17 10:15:09 +02:00
Diogo Correia
005c08d4f6
postgresqlPackages.pgvecto-rs: fix build failure on rust 1.78 2024-06-16 16:52:19 +01:00
Wolfgang Walther
0487937af3
postgresql: add readme with eol-policy
This was discussed and agreed on in [1].

[1]: https://github.com/NixOS/nixpkgs/pull/310580#discussion_r1597284693
2024-06-14 09:38:23 +02:00
R. Ryantm
3e98e4df50 dolt: 1.39.1 -> 1.39.4 2024-06-10 05:15:38 +00:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Peder Bergebakken Sundt
09397213a3
Merge pull request #312334 from r-ryantm/auto-update/pgpool
pgpool: 4.5.1 -> 4.5.2
2024-06-08 17:22:10 +02:00
Maximilian Bosch
4cf50b4388
Merge pull request #317270 from wolfgangwalther/maintain-postgres
postgresql: add wolfgangwalther as maintainer
2024-06-08 13:49:24 +00:00
R. Ryantm
9fe3f6a37d rqlite: 8.24.8 -> 8.24.10 2024-06-05 08:56:08 +00:00