Commit Graph

2814 Commits

Author SHA1 Message Date
Wolfgang Walther
6d7da20a90
postgresqlPackages.tsja: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
a5c41ae80a
postgresqlPackages.pgvecto-rs: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
0af934adf7
postgresqlPackages.pgjwt: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
ecffab1fda
postgresqlPackages.postgis: move nixosTests.postgis into package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
aded718a98
postgresqlPackages.apache_datasketches: move nixosTests.apache_datasketches into package
There is no need to fire up a whole VM just to run a two line test of
creating the extension. We can use postgresqlTestExtension for that.
This has the advantage that it runs with postgresqlTestHook, so without
a VM, making it more portable.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
139c546676
postgresql: add passthru.tests.postgresql-tls-client-cert
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
f6c2de9262
postgresql: add passthru.tests.postgresql
Restructuring the nixosTests.postgresql test a little bit to allow
calling it with the specific versioned package from generic.nix.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
319d82d5c2
nixosTests.postgresql-wal2json: avoid manual imports
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
65ef7381c8
nixosTests.postgresql-jit: avoid manual imports
Same reasoning as commit before.
2024-11-09 18:24:50 +01:00
Wolfgang Walther
a1ae4377e0
nixosTests.postgresql-wal-receiver: avoid manual imports
Manually importing postgresql packages from the /pkgs/ folder or
manually importing the test from /nixos/tests/ in generic.nix is not
only ugly, but also forbidden should we ever move to pkgs/by-name.

We can achieve almost the same with a slightly different setup. We allow
overriding the postgresql package for the test via passthru.override, to
make sure that each postgresql_xx.tests.postgresql-wal-receiver is
properly teted with the right version.
2024-11-09 18:24:50 +01:00
Maximilian Bosch
3bf6a063b3
Merge: postgresqlPackages: fix some builds on darwin (#354748) 2024-11-09 18:21:30 +01:00
Theodore Ni
bc5b75eb11
mysql80: 8.0.39 -> 8.0.40 (#350248) 2024-11-09 05:42:24 -08:00
Maximilian Bosch
8091ea3f24
Merge: postgresql_17: fix build (#354571) 2024-11-09 14:09:03 +01:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Wolfgang Walther
4801d0c2a3
postgresql17Packages.{pg_cron,pg_hll}: fix build on x86_64-darwin
This fixes the following error:

error: comparison of integers of different signs: 'ssize_t' (aka 'long')
and 'const size_t' (aka 'const unsigned long') [-Werror,-Wsign-compare]
                if (part < iov[i].iov_len)
                    ~~~~ ^ ~~~~~~~~~~~~~~
2024-11-09 12:16:58 +01:00
Maximilian Bosch
676db52174
postgresql_17: fix build
Closes #354497

See https://www.postgresql.org/message-id/ba8e1bc0-8a99-45b7-8397-3f2e94415e03%40suse.de for context.
2024-11-08 20:36:48 +01:00
Wolfgang Walther
d1478e78c0
postgresqlPackages.system_stats: fix build on darwin
The build was failing with:

darwin/io_analysis.c:71:21: error: variable length array used
[-Werror,-Wvla]
                        char device_name[kMaxDiskNameSize];
                                         ^~~~~~~~~~~~~~~~
2024-11-08 19:48:39 +01:00
0x4A6F
9d03557aae
mariadb: 10.5.27, 10.6.20, 10.11.10, 11.4.4 (#353661) 2024-11-05 16:46:18 +01:00
Simon Hauser
b0519b4318
mariadb: 10.5.27, 10.6.20, 10.11.10, 11.4.4
Changelog:
- https://mariadb.com/kb/en/mariadb-10-5-27-changelog/
- https://mariadb.com/kb/en/mariadb-10-6-20-changelog/
- https://mariadb.com/kb/en/mariadb-10-11-10-changelog/
- https://mariadb.com/kb/en/mariadb-11-4-4-changelog/
2024-11-04 16:34:26 +01:00
Maximilian Bosch
184cda2b94
postgresql: remove danbst from maintainer list
Thanks a lot for all your work! If you ever come back to nixpkgs, feel
free to revert the commit, your return would be welcomed!
2024-11-02 15:47:50 +01:00
Maximilian Bosch
c65705940a
postgresql: use team
Main motivation for this is that I'd like to get a feature-freeze ping:
we have old stuff to remove and quite a bit of things ongoing here, so
explicitly being part of the check-up process seems like a good thing.

Also added myself and wolfgangwalther to it.
2024-11-02 15:47:32 +01:00
Maximilian Bosch
976f14bc27
Merge: postgresql: plugin pg_embedding is no longer maintained (#351306) 2024-10-31 12:13:03 +01:00
Maximilian Bosch
a34f8f6c4b
Merge: postgresql.withPackages: support withJIT and withoutJIT (#352158) 2024-10-31 10:35:07 +01:00
Wolfgang Walther
6cc9178c31
postgresql.withPackages: support withJIT and withoutJIT
This allows using postgresql.withPackages in the nixos module, which
calls withJIT and without JIT.

Supersedes #351968
2024-10-29 19:38:44 +01:00
K900
66f01b7af9 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 15:11:30 +03:00
Masum Reza
474d515b26
pgpool: 4.5.2 -> 4.5.4 (#348687) 2024-10-28 12:33:46 +05:30
Fabián Heredia Montiel
34b62f7c47 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 16:10:56 -06:00
Claude Doppler
66285c63ce postgresqlPackages.pg_embedding: plugin is no longer maintained 2024-10-27 09:59:48 -03:00
Wolfgang Walther
29225a3106
postgresqlPackages.lantern: 0.3.3 -> 0.4.1
Changelog at:
https://github.com/lanterndata/lantern/releases
2024-10-27 09:02:44 +01:00
Wolfgang Walther
357b7aabfe
postgresqlJitPackages.lantern: fix build
The link_llvm_objects.sh script used a hardcoded /bin/bash shebang,
which failed during a JIT-enabled build.
2024-10-27 09:00:40 +01:00
Wolfgang Walther
203af243af
postgresql17Packages: mark remaining extensions as broken
Those extensions don't support building with PostgreSQL 17, yet.

To make sure they will show up as build failures after the next package
upgrade, they all have version checks for their own package version
included.
2024-10-27 08:35:47 +01:00
Wolfgang Walther
4cc4534295
postgresql_17: init at 17.0 2024-10-26 15:15:24 +02:00
Wolfgang Walther
9789c756bf
postgresql16Packages.smlar: mark as broken on darwin
Broken on linux (JIT) as well.
2024-10-26 15:15:24 +02:00
Wolfgang Walther
1b19f8df55
postgresql16Packages.pg_ed25519: mark as broken on darwin
Broken on linux (JIT) as well.
2024-10-26 15:15:24 +02:00
Wolfgang Walther
d055dc25db
postgresqlPackages.pg_topn: 2.6.0 -> 2.7.0
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/citusdata/postgresql-topn/blob/master/CHANGELOG.md#topn-v270-october-18-2024
2024-10-26 15:15:24 +02:00
Wolfgang Walther
97b965aedb
postgresqlPackages.plv8: 3.2.2 -> 3.2.3
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/plv8/plv8/blob/r3.2/Changes
2024-10-26 15:15:23 +02:00
Wolfgang Walther
8b831f9b15
postgresqlPackages.lantern: 0.2.4 -> 0.3.3
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/lanterndata/lantern/releases
2024-10-26 15:15:23 +02:00
Wolfgang Walther
9fc6c9536f
postgresqlPackages.pg_cron: 1.6.2 -> 1.6.4
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/citusdata/pg_cron/releases/tag/v1.6.3
https://github.com/citusdata/pg_cron/releases/tag/v1.6.4
2024-10-26 15:15:23 +02:00
Wolfgang Walther
f36c4e6bbf
postgresqlPackages.pg_ivm: 1.8 -> 1.9
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/sraoss/pg_ivm/releases/tag/v1.9
2024-10-26 15:15:23 +02:00
Wolfgang Walther
31d68c9d30
postgresql16Packages.pg_similarity: fix build on darwin
Also fixes the build on linux with clang (JIT).
2024-10-26 15:15:23 +02:00
Wolfgang Walther
6d1cbda724
postgresqlPackages.pg_similarity: 1.0 -> 1.0-unstable-2021-01-12
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/eulerto/pg_similarity/compare/pg_similarity_1_0...master
2024-10-26 15:15:23 +02:00
Wolfgang Walther
10d228bc7f
postgresqlPackages.pg_squeeze: 1.6.2 -> 1.7.0
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/cybertec-postgresql/pg_squeeze/releases

The changelog is only available for beta 2, but 1.7.0 was released
properly after that without changelog.
2024-10-26 15:15:23 +02:00
Wolfgang Walther
d37563232d
postgresqlPackages.pgroonga: 3.1.8 -> 3.2.3
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/pgroonga/pgroonga/releases
2024-10-26 15:15:22 +02:00
Wolfgang Walther
b6d191bbc2
postgresqlPackages.plr: 8.4.6 -> 8.4.7
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/postgres-plr/plr/blob/master/changelog.md#846---2023-08-01
2024-10-26 15:15:22 +02:00
Wolfgang Walther
c04efb0ce1
postgresqlPackages.tds_fdw: 2.0.3-unstable-2024-02-10 -> 2.0.4
Makes building with PostgreSQL 17 succeed.

Changelog:
https://github.com/tds-fdw/tds_fdw/releases/tag/v2.0.4
2024-10-25 19:54:13 +02:00
Fabián Heredia Montiel
fdc64cfee0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
Ivan Mincik
ddf67bbac5
postgresqlPackages.pgrouting: 3.6.2 -> 3.6.3 (#350298) 2024-10-22 07:12:53 +00:00
Nikolay Korotkiy
b3413ccd23
postgresqlPackages.pgrouting: 3.6.2 → 3.6.3 2024-10-21 22:13:37 +04:00
Thomas Gerbet
d931f342a4 mysql80: 8.0.39 -> 8.0.40
Fixes:
* CVE-2024-21230
* CVE-2024-7264
* CVE-2024-21196
* CVE-2024-21238
* CVE-2024-21194
* CVE-2024-21199
* CVE-2024-21218
* CVE-2024-21236
* CVE-2024-21239
* CVE-2024-21198
* CVE-2024-21219
* CVE-2024-21203
* CVE-2024-21197
* CVE-2024-21201
* CVE-2024-21241
* CVE-2024-21193
* CVE-2024-21212
* CVE-2024-21213
* CVE-2024-21247
* CVE-2024-21231
* CVE-2024-21237

https://www.oracle.com/security-alerts/cpuoct2024.html#AppendixMSQL

Changes:
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-40.html
2024-10-21 16:14:11 +02:00
github-actions[bot]
3fc3038625
Merge master into staging-next 2024-10-21 06:05:19 +00:00