Commit Graph

2687 Commits

Author SHA1 Message Date
R. Ryantm
cf4182a998 dolt: 1.37.0 -> 1.38.0 2024-05-17 21:31:49 +00:00
R. Ryantm
f7e37fbfb0 pgpool: 4.5.1 -> 4.5.2 2024-05-17 02:12:46 +00:00
github-actions[bot]
5ba1706aa5
Merge master into staging-next 2024-05-16 18:01:25 +00:00
Maximilian Bosch
d5f39744c8
Merge pull request #309953 from flyingcircusio/PL-132430-percona-innovation
percona: restructure releases according to upstream release policy
2024-05-16 16:35:08 +00:00
github-actions[bot]
350d12c2fb
Merge master into staging-next 2024-05-16 12:01:25 +00:00
jopejoe1
0fad153e47 postgresql16Packages.pg_libversion: 2.0.0 -> 2.0.1 2024-05-15 18:34:33 +02:00
jopejoe1
8dbfbe8e5f postgresql16Packages.pg_libversion: add update script 2024-05-15 18:11:02 +02:00
github-actions[bot]
5ecf9476cb
Merge staging-next into staging 2024-05-14 00:02:48 +00:00
Weijia Wang
1fbd31f24d
Merge pull request #311293 from diogotcorreia/pgvecto.rs-broken-pg12-pg13
pgvecto-rs: mark as broken in pg12 and pg13
2024-05-13 23:02:50 +02:00
github-actions[bot]
0f00113a2f
Merge staging-next into staging 2024-05-13 12:01:49 +00:00
Diogo Correia
101e8a0a2b
pgvecto-rs: mark as broken in pg12 and pg13
Upstream (accidentally) broke support for postgresql 12 and 13 on
v0.2.1 by changing the signature of the `from_datum` function[^1].
This went unnoticed since the release branch `0.2` did not have CI.
Furthermore, they are removing support for these versions of postgresql
on v0.3.0[^2].

[^1]: 97e861d51d
[^2]: https://github.com/tensorchord/pgvecto.rs/issues/343
2024-05-13 09:25:06 +01:00
Matthias Beyer
2f150587c9
Merge pull request #311172 from r-ryantm/auto-update/rqlite
rqlite: 8.24.1 -> 8.24.7
2024-05-13 09:29:52 +02:00
github-actions[bot]
eb2b7beecf
Merge staging-next into staging 2024-05-13 00:02:42 +00:00
R. Ryantm
dff3c958a5 rqlite: 8.24.1 -> 8.24.7 2024-05-12 20:50:35 +00:00
Maximilian Bosch
3ad254b1c4
postgresql: drop obsolete musl checkPhase fix 2024-05-11 18:23:38 +02:00
Maximilian Bosch
0616f7a44f
postgresql_16: 16.2 -> 16.3, fix CVE-2024-4317
Announcement: https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/
2024-05-11 18:09:19 +02:00
Maximilian Bosch
1f657f2ce9
postgresql_15: 15.6 -> 15.7, fix CVE-2024-4317
Announcement: https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/
2024-05-11 18:09:18 +02:00
Maximilian Bosch
90fdcc6112
postgresql_14: 14.11 -> 14.12, fix CVE-2024-4317
Announcement: https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/
2024-05-11 18:09:18 +02:00
Maximilian Bosch
3b6b7fda09
postgresql_13: 13.14 -> 13.15
Accouncement: https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/
2024-05-11 18:09:18 +02:00
Maximilian Bosch
c69eb60b61
postgresql_12: 12.18 -> 12.19
Announcement: https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/
2024-05-11 18:09:17 +02:00
R. Ryantm
e68c48ee70 dolt: 1.35.11 -> 1.37.0 2024-05-11 10:22:49 +00:00
R. Ryantm
73dec69cab monetdb: 11.49.7 -> 11.49.9 2024-05-11 00:58:20 +00:00
éclairevoyant
9f038dd682
Merge pull request #309375 from OPNA2608/fix/stableVersion/pkgs-stuff
treewide: Fix some unstableGitUpdater users
2024-05-09 10:03:46 +00:00
Oliver Schmidt
9164c33ab6 percona: apply required multi-version package structure
To work around the pkgs/by-name CI check, I applied the recommended structure
refactoring as documented in https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name#further-possible-refactorings
2024-05-08 00:40:07 +02:00
Oliver Schmidt
52506a2744 percona: adapt upstream release model
In accordance to the upstream release cycle, we now provide 2 flavours
of the percona mysql ecosystem. The default is the LTS variant,
additionally there is now the floating `percona-server_innovation`
always pointing to the most recent regular release.

- mentioned in release notes
- adapted all depending tests and tools (xtrabackup)
2024-05-08 00:40:06 +02:00
Oliver Schmidt
0999991e93 percona-server_8_3: init at 8.3.0-1
This release belongs to the "innovation" release track of Percona,
making it likely to diverge over time from the LTS release. Hence I just
created a separate packaging expression for this.
2024-05-07 19:56:32 +02:00
OPNA2608
92dcac9339 postgresqlPackages.tds_fdw: unstable-2024-02-10 -> 2.0.3-unstable-2024-02-10 2024-05-05 22:45:23 +02:00
OPNA2608
77f1d8831c postgresqlPackages.pgjwt: unstable-2023-03-02 -> 0-unstable-2023-03-02 2024-05-05 22:45:22 +02:00
Adam Stephens
3d20a75e9a
patroni: 2.1.3 -> 3.3.0
https://github.com/zalando/patroni/blob/v3.3.0/docs/releases.rst#version-330
2024-05-05 16:37:18 -04:00
R. Ryantm
360d400fde mysql_jdbc: 8.3.0 -> 8.4.0 2024-05-05 20:20:44 +00:00
R. Ryantm
92e1217992 rqlite: 8.23.4 -> 8.24.1 2024-05-05 04:11:53 +00:00
Nick Cao
02f32d0689
Merge pull request #308002 from NickCao/materialize
materialize: drop redundant LIBCLANG_PATH
2024-05-03 22:23:39 -04:00
github-actions[bot]
c4dfa193ac
Merge master into staging-next 2024-05-02 12:01:36 +00:00
R. Ryantm
63f1eccb2b mariadb-galera: 26.4.17 -> 26.4.18 2024-05-01 11:32:56 +00:00
K900
a9c7210d0b Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
Peder Bergebakken Sundt
9b6f63a26c
Merge pull request #304599 from StillerHarpo/monetdb
monetdb: 11.49.5 -> 11.49.7
2024-05-01 00:48:10 +02:00
Nick Cao
88a5ce0975
materialize: drop redundant LIBCLANG_PATH 2024-04-30 09:48:45 -04:00
Jan Tojnar
1b2ebb8fbb Merge branch 'master' into staging-next 2024-04-28 17:33:27 +02:00
R. Ryantm
5ba2e3e8de rqlite: 8.23.2 -> 8.23.4 2024-04-28 03:24:17 +00:00
Weijia Wang
7f45fee52a Merge branch 'master' into staging-next 2024-04-28 04:02:14 +02:00
R. Ryantm
6fb45e01f4 dolt: 1.35.10 -> 1.35.11 2024-04-26 23:20:12 +00:00
Vladimír Čunát
d157c07324
Merge branch 'master' into staging-next 2024-04-25 20:43:34 +02:00
github-actions[bot]
d0efe40740
Merge master into staging-next 2024-04-25 06:01:20 +00:00
Mario Rodas
183a604e7a
Merge pull request #305572 from wolfgangwalther/remove-promscale-pgx
promscale_extension,buildPgxExtension: remove
2024-04-24 22:11:14 -05:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
github-actions[bot]
e50548dc95
Merge master into staging-next 2024-04-23 18:01:16 +00:00
R. Ryantm
2ebdbcf974 rqlite: 8.23.1 -> 8.23.2 2024-04-23 00:13:31 +00:00
github-actions[bot]
9c36f57e91
Merge staging-next into staging 2024-04-22 06:01:32 +00:00
Mario Rodas
c30c183bae postgresqlPackages.lantern: set pname to postgresql-lantern
To avoid Repology to mistake it for another project named Lantern.
2024-04-21 04:20:00 +00:00
R. Ryantm
63b8343b8d dolt: 1.35.8 -> 1.35.10 2024-04-21 16:34:45 +00:00
Wolfgang Walther
a0a1328606
buildPgxExtension: remove old versions
pgx had been renamed to pgrx in April 2023 already [1]. Newer versions
are already in nixpkgs as pgrx. Since the previous commit removed
the only remaining instance of a package still depending on
pgx 0.6.1, we can now remove all of buildPgxExtension and cargo-pgx.

[1]: https://github.com/pgcentralfoundation/pgrx/issues/1106
2024-04-20 20:10:13 +02:00
Wolfgang Walther
945a3bbb8b
postgresqlPackages.promscale_extension: remove deprecated and broken package
postgresql14Packages.promscale_extension breaks with:

  Error:
    0: `pgx-0.6.1` shouldn't be used with `cargo-pgx-0.7.4`,
    please use `pgx = "~0.7.4"` in your `Cargo.toml`.

However, pinning cargo-pgx to 0_6_1 via the following

  buildPgxExtension.override { cargo-pgx = cargo-pgx_0_6_1; }

does not work either, because the build then fails with:

  thread 'main' panicked at /build/promscale_extension-0.8.0-vendor.tar.gz/proc-macro2/src/fallback.rs:756:9:
  "__mbstate_t_union_(unnamed_at_/nix/store/ij144ma6vs8acil8r9hgr8xkb1dp9azg-glibc-2_39-5-dev/include/bits/types/__mbstate_t_h_16_3)" is not a valid Ident

This seems to be related to [1], which indicates that this is a
problem with newer LLVM / clang toolchains.

At the same time th upstream package is deprecated / archived since
the 2nd of April 2024 [2]. Additionally this package is unfree and
thus very unlikely to be forked. Since we can't expect this to be
fixed, the only sensible thing to do is to remove the package.

[1]: https://github.com/rust-lang/rust-bindgen/issues/2312
[2]: https://github.com/timescale/promscale/issues/1836
2024-04-20 20:10:13 +02:00
Maximilian Bosch
cba6af761a
Merge pull request #293996 from wolfgangwalther/postgresql-cleanup
postgresql: more cleanup
2024-04-19 13:53:20 +00:00
Florian Engel
e4166e0651
monetdb: 11.49.5 -> 11.49.7 2024-04-16 19:56:30 +02:00
github-actions[bot]
4908c48bf5
Merge master into staging-next 2024-04-15 12:01:00 +00:00
R. Ryantm
b9a629203c postgresql13Packages.lantern: 0.2.3 -> 0.2.4 2024-04-15 03:41:04 +00:00
Weijia Wang
f3a1652b09 Merge branch 'master' into staging-next 2024-04-13 19:10:53 +02:00
Maximilian Bosch
2705b9062f
Merge pull request #299136 from wolfgangwalther/pg-safeupdate
postgresql{12,13}Packages.pg_safeupdate: 1.5 -> 1.4
2024-04-13 16:47:51 +00:00
Vladimír Čunát
24d4f2cd52
Merge branch 'staging' into staging-next
Conflicts (tried to quickly resolve somehow, checked eval):
	pkgs/development/python-modules/apsw/default.nix
	pkgs/development/python-modules/mido/default.nix
	pkgs/development/python-modules/pytest-bdd/default.nix
	pkgs/development/python-modules/sparse/default.nix
2024-04-12 07:06:54 +02:00
Mario Rodas
86a264e727
Merge pull request #303031 from r-ryantm/auto-update/dolt
dolt: 1.35.7 -> 1.35.8
2024-04-10 05:02:50 -05:00
R. Ryantm
d4502d8520 dolt: 1.35.7 -> 1.35.8 2024-04-10 05:59:07 +00:00
R. Ryantm
f9157e0977 postgresql13Packages.lantern: 0.2.2 -> 0.2.3 2024-04-10 03:00:50 +00:00
Weijia Wang
3f59355d84 Merge branch 'staging-next' into staging 2024-04-09 08:26:23 +02:00
R. Ryantm
0c979c7daf postgresql16JitPackages.pgtap: 1.3.2 -> 1.3.3 2024-04-09 01:39:31 +00:00
github-actions[bot]
c3b3326391
Merge staging-next into staging 2024-04-06 00:02:50 +00:00
Mario Rodas
88c619a6a3
Merge pull request #301870 from r-ryantm/auto-update/rqlite
rqlite: 8.23.0 -> 8.23.1
2024-04-05 18:38:56 -05:00
github-actions[bot]
882e0f27d3
Merge staging-next into staging 2024-04-05 18:01:27 +00:00
Pol Dellaiera
0b46528d06
Merge pull request #301544 from mmusnjak/pgsql-datasketches-update
apache_datasketches: update to 1.7.0
2024-04-05 17:20:46 +02:00
R. Ryantm
fd62cce119 rqlite: 8.23.0 -> 8.23.1 2024-04-05 15:03:34 +00:00
github-actions[bot]
caf9b7e92b
Merge staging-next into staging 2024-04-05 12:02:18 +00:00
R. Ryantm
9ed2202f70 dolt: 1.35.4 -> 1.35.7 2024-04-05 00:00:12 +00:00
Marko Mušnjak
7cea84dade
apache_datasketches: update to 1.7.0 2024-04-04 15:21:59 +02:00
Wolfgang Walther
81201ce889
pkgsMusl.postgresql: add TODO to run all regression tests
This was fixed upstream as a result of this discussion:

https://www.postgresql.org/message-id/flat/ef1b47df-0808-4bd7-b08c-5153d5d75f4c%40technowledgy.de
2024-04-04 08:41:19 +02:00
Wolfgang Walther
30fa4dca88
pkgsMusl.postgresql: remove icu-collations-hack patch
This was introduced in #228349, but doesn't seem necessary to build for pkgsMusl.

In fact the patch itself seems to be very specific about a stripped down icu
package in Alpine Linux, which does not apply to nixpkgs.
2024-04-04 08:41:19 +02:00
Wolfgang Walther
ec7b4581d7
pkgsMusl.postgresql: mark v12 and v13 with JIT as broken
Those currently don't build on master, not sure whether they ever built
correctly in the first place.
2024-04-04 08:41:18 +02:00
Wolfgang Walther
9f90ad30fa
postgresql: enable parallel building on darwin
This was disabled to fix #51093. The related discussion upstream revealed that this
has been fixed in [1] for v12+. Since v12 is our oldest supported version right now,
we should be able to safely enable parallel building on darwin again.

Furthermore, it seems that this kind of issue was also fixed in #51221 and #51408
for the general case.

[1]: 826eff57c4
2024-04-04 08:41:18 +02:00
Wolfgang Walther
4adcc41cd9
postgresql: move explicit libxml2 include behind version flag
This was introduced in #44083 to fix cross building, where xml2-config
wouldn't run on the host platform. This was fixed upstream two years
later [1], so that from v13 on pkg-config is used before xml2-config is.

Once v12 is EOL, we can remove this entirely.

[1]: 0bc8cebdb8
2024-04-04 08:41:18 +02:00
Wolfgang Walther
6c1e2a4401
postgresql: remove preConfigure CC variable
This seems to have been done better by now. There are no references kept
and the build does not fail when removing it.
2024-04-04 08:41:18 +02:00
Wolfgang Walther
c3c52231f0
postgresql: remove left-over LC_ALL environment variable
This was introduced in 65fd8f3f48 around 20 years
ago as LANG=en_US, later changed to LC_ALL=en_US and LC_ALL=C to avoid bash
warnings. This might have been relevant to run initdb during the check phase, but
the PostgreSQL docs [1] say this today:

  For implementation reasons, setting LC_ALL does not work for this purpose

Therefore it can be removed safely.

[1]: https://www.postgresql.org/docs/current/regress-run.html#REGRESS-RUN-LOCALE
2024-04-04 08:41:18 +02:00
Wolfgang Walther
154215cfd8
postgresql: rename patches
Trying to understand what each patch does made me come up with some more
descriptive names:

- Renaming the two disable-xxx patches to a common names makes it immediately
  clear that one replaces the other depending on version number.
- findstring was really not descriptive at all.
- hardcode-pgxs-path will be extended with more paths for split outputs in
  a later commit. Renaming here already to allow git to better track renames.

Finally replacing HARDCODED_PGXS_PATH with $out/lib in the last patch, makes
it easier to understand what the end result will look like when reading the
patch.
2024-04-04 08:41:18 +02:00
Wolfgang Walther
605618c2e8
postgresql: clean up patches
More cosmetic than anything else. The description in findstring.patch was
duplicated, postgresql-9.6.1 references confusing. Timestamps are not
needed, that's what git blame is for.
2024-04-04 08:41:18 +02:00
Wolfgang Walther
29d5adb676
postgresql: change pname for postgresql_jit attributes to postgresql-jit
This is for consistency between the top-level attribute and the respective package
name, which makes it easier to track derivations.
2024-04-04 08:41:17 +02:00
Wolfgang Walther
aea4ba847a
postgresql: remove thisAttr argument by calling tests directly
Previously, it was not possible to run tests on an overridden derivation, because
the derivation under test was always pulled from pkgs.

With this change, the following will return the same test:

  postgresql_jit.tests

and

  (postgresql.override { jitSupport = true; }).tests
2024-04-04 08:41:17 +02:00
Silvan Mosberger
b9261ad2e6
Merge pull request #301066 from philiptaron/compatible-typos
treewide: fix typos around "compatible" and "compatibility"
2024-04-04 04:18:31 +02:00
R. Ryantm
25a5f227f7 postgresql15JitPackages.pg_partman: 5.0.1 -> 5.1.0 2024-04-03 02:29:01 +00:00
Philip Taron
562b2c5896
postgresqlPackages.pg_bigm: fix typo: compatiblity to compatibility 2024-04-02 14:51:42 -07:00
Philip Taron
269a99d6b8
postgresqlPackages.citus: fix typo: compatibilty to compatibility 2024-04-02 14:45:11 -07:00
Wolfgang Walther
5e0eeb362b
postgresql{12,13}Packages.pg_safeupdate: 1.5 -> 1.4
pg_safeupdate was updated to 1.5 in #269755. v1.5 is not compatible with
PostgreSQL 12 and 13 anymore, so those were marked as broken.

However, this blocks anyone using PostgreSQL 12 or 13 with pg_safeupdate
from updating nixpkgs.

Instead, the old version should have been kept for PG 12 and 13.
2024-03-31 19:32:31 +02:00
Wolfgang Walther
7a358ffd0e
postgresqlPackages.postgis: add myself as maintainer 2024-03-31 19:32:31 +02:00
Wolfgang Walther
156f69bbcb
postgresqlPackages.pg_safeupdate: add myself as maintainer 2024-03-31 19:32:29 +02:00
Ivan Mincik
75e7b2b097
Merge pull request #300347 from marsam/update-pgrouting
postgresqlPackages.pgrouting: 3.6.1 -> 3.6.2
2024-03-31 14:24:44 +00:00
R. Ryantm
b7c2c96026 postgresql12JitPackages.plpgsql_check: 2.7.4 -> 2.7.5 2024-03-31 02:12:10 +00:00
Mario Rodas
ce8a906462 postgresqlPackages.pgrouting: 3.6.1 -> 3.6.2
Diff: https://github.com/pgRouting/pgrouting/compare/v3.6.1...v3.6.2

Changelog: https://github.com/pgRouting/pgrouting/releases/tag/v3.6.2
2024-03-30 04:20:00 +00:00
R. Ryantm
334b49ce2a postgresql13Packages.lantern: 0.2.1 -> 0.2.2 2024-03-27 13:43:45 +00:00
Mario Rodas
93883e16ec
Merge pull request #299094 from marsam/add-pg_roaringbitmap
postgresqlPackages.pg_roaringbitmap: init at 0.5.4
2024-03-26 18:12:39 -05:00
Mario Rodas
e4b3f3f652
Merge pull request #298190 from jopejoe1/postgresql-libversion
postgresqlPackages.pg_libversion: init at 2.0.0
2024-03-26 00:06:39 -05:00
Nick Cao
60f5ab8a3e
postgresql: enable spinlock on riscv 2024-03-25 16:15:05 -04:00
Mario Rodas
2d8a9a0bf4 postgresqlPackages.pg_roaringbitmap: init at 0.5.4 2024-03-25 04:20:00 +00:00
Weijia Wang
7c7fb17b30
Merge pull request #297065 from r-ryantm/auto-update/monetdb
monetdb: 11.49.1 -> 11.49.5
2024-03-24 23:52:58 +01:00
Yt
86de7cd867
Merge pull request #296336 from marsam/refactor-cargo-pgrx
cargo-pgrx: refactor
2024-03-23 11:51:28 +00:00
jopejoe1
b7cdcb35cb postgresqlPackages.pg_libversion: init at 2.0.0 2024-03-22 21:26:54 +01:00
Maximilian Bosch
0cf4b07939
Merge pull request #297155 from Ma27/fix-pg_anonymizer-meta
postgresqlPackages.pg_anonymizer: fix meta
2024-03-22 17:00:02 +00:00
R. Ryantm
4ace79fb70 postgresql16JitPackages.pg_uuidv7: 1.4.1 -> 1.5.0 2024-03-22 01:43:07 +00:00
Maximilian Bosch
8ec284b8c4
postgresqlPackages.pg_anonymizer: fix meta
Previously the entire `meta` section from `pg-dump-anon` was copied
over including `mainProgram` which doesn't belong here. To avoid similar
issues, fields from the meta section of pg-dump-anon are copied over
explicitly.
2024-03-19 12:25:48 +01:00
Martin Weinelt
3321e63b12
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00
Martin Weinelt
afa65506cb
Merge pull request #297084 from stuebinm/trivial-meta-mainprograms
treewide: add meta.mainProgram to (almost) all packages with a single binary
2024-03-19 03:57:54 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
03b336ac2d postgresql12JitPackages.pgvector: 0.6.1 -> 0.6.2 2024-03-19 00:30:25 +00:00
R. Ryantm
32c6d3176c monetdb: 11.49.1 -> 11.49.5 2024-03-19 00:24:04 +00:00
github-actions[bot]
7c0bd382c7
Merge master into staging-next 2024-03-19 00:02:09 +00:00
Aaron Jheng
55bf02190e cockroachdb: point to cockroachdb-bin 2024-03-18 17:19:16 -05:00
github-actions[bot]
819a14ad05
Merge master into staging-next 2024-03-18 06:01:21 +00:00
Mario Rodas
65f4f042f9
Merge pull request #296520 from r-ryantm/auto-update/dolt
dolt: 1.35.3 -> 1.35.4
2024-03-17 20:55:29 -05:00
github-actions[bot]
100b3bb178
Merge master into staging-next 2024-03-17 18:00:54 +00:00
Weijia Wang
46c6aca2d9
Merge pull request #293475 from r-ryantm/auto-update/rqlite
rqlite: 8.22.1 -> 8.23.0
2024-03-17 15:05:33 +01:00
github-actions[bot]
c222aba0b8
Merge master into staging-next 2024-03-17 12:01:55 +00:00
R. Ryantm
e57bc699d0 dolt: 1.35.3 -> 1.35.4 2024-03-16 22:35:49 +00:00
Wolfgang Walther
01444957ba
postgresql: explain use of fetchurl for alpine patches 2024-03-16 11:52:39 +01:00
Wolfgang Walther
e6bfabf366
postgresql: rename enableSystemd to systemdSupport for consistency
We have gssSupport, jitSupport and pythonSupport - but enableSystemd?

Across nixpkgs there are currently three styles commonly used, about equally
often: withX, xSupport and enableX.

Let's at least use one consistent style in this package.
2024-03-15 21:11:10 +01:00
Wolfgang Walther
d7ae1c5143
postgresql: refactor to remove doInstallCheck = false
This is the default anyway.
2024-03-15 21:11:09 +01:00
Wolfgang Walther
4b6bce5c31
postgresql: refactor to remove "this" argument
This was proposed by abbradar in #150801, but left out of the follow up PR
#221851 by Ma27 to reduce the size of the diff. Compared to the initial
proposal this includes the callPackage call in the recursion, which avoids
breaking the withJIT/withoutJIT helpers.

In terms of nixpkgs, this is a pure refactor, no derivations change. However,
this makes downstream expressions like the following possible:

  (postgresql.override { jitSupport = true; }).pkgs.postgis

This would have not worked before without passing another "this" argument,
which is error prone as can be seen in this example:

  https://github.com/PostgREST/postgrest/pull/3222/files
2024-03-15 21:11:09 +01:00
Wolfgang Walther
14b3ea2789
postgresql: refactor to pass jitSupport/llvm via scope instead of passthru
This makes it less error-prone to use the llvm package in extensions, because
it will always match the package used by the postgresql derivation itself.

Previously, you could've accidentally used llvm instead of postgresql.llvm
with a different result.
2024-03-15 21:11:09 +01:00
github-actions[bot]
00729a3d21
Merge master into staging-next 2024-03-15 18:01:19 +00:00
Wolfgang Walther
b301c01e31
postgresql: refactor to move musl patches into versioned .nix files
This makes it obvious that the required argument muslPatches must be passed when
creating a new version file.

Pure refactor, not changing any derivations.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
82e6c4a609
postgresql: refactor to remove psqlSchema argument
The passthru attribute is still set, but automatically created from
the major version number. Fewer moving parts decrease the chance
for mistakes.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
a92a323a1d
postgresql: refactor to remove passthru's readline attribute
This seems to have been introduced 20 years ago in 5863d4f - but
seems to have been a copy&paste mistake from the beginning.
AFAICT, it's not used anywhere.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
62635c9643
postgresql: refactor mkPackages in default.nix
Refactors some low hanging fruit in default.nix to make it easier to add new
versions later on.

Pure refactor, not changing any derivations.

This change makes it easier to add new versions in default.nix without messing
up - and also prevents us from adding version-specific arguments in default.nix
by accident in the future. Those should be put in the versioned .nix files
instead.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
1d9f2bd726
postgresql: refactor to split up default.nix (2/2)
The recommended [1] structure for a package regarding versioning is to have each
version in a separate file. This commit just mechanically copies code around
without any changes.

Pure refactor, not changing any derivations.

[1]: pkgs/README.md
2024-03-15 18:51:02 +01:00
Wolfgang Walther
9af8c0a3b7
postgresql: refactor to split up default.nix (1/2)
This just renames default.nix to generic.nix, because the biggest chunk
of code should move that way in the next commit. This gives us a much
better diff for the next commit and makes rebasing **much** easier in
case of changes. This commit does not stand on its own and needs to go
in with the next commit (2/2).
2024-03-15 18:51:02 +01:00
Wolfgang Walther
4c8e7af941
postgresql: refactor to remove useless references to "self"
No need to reference self here, because llvmPackages / stdenv' are available
in that scope anyway. Pure refactor, derivations don't change.
2024-03-15 18:51:02 +01:00
Wolfgang Walther
719034f6f6
postgresql: refactor to move packages.nix to ext/default.nix (2/2)
This aligns more with the commonly used style in nixpkgs.
2024-03-15 18:51:01 +01:00
Wolfgang Walther
9ef7195e08
postgresql: refactor to move packages.nix to ext/default.nix (1/2)
This commit is split up into two commits to allow git to detect renames,
make rebasing easier and allow a working entry in .git-blame-ignore-revs.

To allow bisecting we allow evaluation on every commit by moving the extensions
into ext/ext/ first and back to ext/ with the next commit.
2024-03-15 18:50:20 +01:00
Wolfgang Walther
01463448be
postgresql: refactor to move locale-binary-path.patch into patches/
Seems to have been put in the wrong place.
2024-03-15 18:50:19 +01:00
R. Ryantm
dddd27dc94 postgresqlJitPackages.plpgsql_check: 2.7.3 -> 2.7.4 2024-03-15 13:32:48 +00:00
github-actions[bot]
4aac48ff7f
Merge master into staging-next 2024-03-15 06:01:09 +00:00
Mario Rodas
72d1bae406 postgresqlPackages.pgvecto-rs: use cargo-pgrx_0_11_2 from top-level 2024-03-15 04:20:00 +00:00
Mario Rodas
6025943fa2 postgresqlPackages.timescaledb_toolkit: use cargo-pgrx_0_10_2 from top-level 2024-03-15 04:20:00 +00:00
Mario Rodas
e6aefe20a1
Merge pull request #292533 from flyingcircusio/init-postgresql-anonymizer
postgresqlPackages.anonymizer: init at 1.3.1; add me & osnyx to flyingcircus team
2024-03-14 20:53:36 -05:00
R. Ryantm
d5346f1f1f rqlite: 8.22.1 -> 8.23.0 2024-03-14 15:22:12 +00:00
Maximilian Bosch
b4f8ebd295
postgresqlPackages.anonymizer: update description
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
2024-03-14 09:50:46 +01:00
github-actions[bot]
c866a07331
Merge master into staging-next 2024-03-14 06:01:12 +00:00
Maximilian Bosch
0cdaede144
pg-dump-anon: init at 1.3.1
This is a Go program inside the sources of `postgresql_anonymizer` that
allows to perform database dumps, but with anonymized data. I figured
that it's a little awkward to have a client program to be part of the
extension package.

So I decided to create a second package called `pg-dump-anon`. Since
it's one repository, both share `version` & `src`.

Also extended the VM test to make sure we're getting properly anonymized
data when dumping with `pg_dump_anon`.
2024-03-13 16:15:54 +01:00
R. Ryantm
96c6d758d2 dolt: 1.35.1 -> 1.35.3 2024-03-13 07:15:39 +00:00
annalee
8e038835fe
Merge remote-tracking branch 'upstream/master' into staging-next 2024-03-13 00:38:07 +00:00
Fabián Heredia Montiel
d5fe7897b4
Merge pull request #294457 from wolfgangwalther/postgresql-ext
postgresqlPackages: fixing multiple build failures
2024-03-12 14:55:49 -06:00
github-actions[bot]
1cef2a1be7
Merge staging-next into staging 2024-03-12 12:01:40 +00:00
Mario Rodas
a55ee60608
Merge pull request #295082 from r-ryantm/auto-update/postgresqlJitPackages.lantern
postgresqlJitPackages.lantern: 0.2.0 -> 0.2.1
2024-03-12 01:46:00 -05:00
R. Ryantm
e3acd5fbcf postgresqlJitPackages.lantern: 0.2.0 -> 0.2.1 2024-03-11 18:11:45 +00:00
github-actions[bot]
06e5eb63d3
Merge staging-next into staging 2024-03-11 18:01:53 +00:00
Nick Cao
996086f259
Merge pull request #294291 from r-ryantm/auto-update/dolt
dolt: 1.35.0 -> 1.35.1
2024-03-11 11:24:04 -04:00
Maximilian Bosch
8d0e5a3402
postgresqlPackages.anonymizer: init at 1.3.1 2024-03-11 14:09:17 +01:00
github-actions[bot]
339816cfdf
Merge staging-next into staging 2024-03-11 12:01:42 +00:00
a-n-n-a-l-e-e
ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
Atemu
ce8ddcd321
Merge pull request #281192 from diogotcorreia/pgvecto.rs
postgresqlPackages.pgvecto-rs: init at 0.2.1
2024-03-11 07:12:52 +00:00
Diogo Correia
6b97ba66a4
nixos/tests/pgvecto-rs: init 2024-03-11 01:02:17 +00:00
Diogo Correia
3060321978
pgvecto.rs: init at 0.2.1
Co-Authored-By: Daniel Albert <git@esclear.de>
Co-Authored-By: rina <k@rina.fyi>
2024-03-11 01:02:17 +00:00
Wolfgang Walther
81c32a6b33
postgresql.pkgs.plv8: 3.1.5 -> 3.1.10
https://github.com/plv8/plv8/blob/v3.1.10/Changes

3.1.10 is currently not the latest version - 3.2.2 is. However, the 3.2 branch needs
more changes to build successfully. The update to 3.1.10 makes this package build
with postgresql_16 for now.
2024-03-09 09:44:07 +01:00
Wolfgang Walther
5a57e16d64
postgresql.pkgs.pg_auto_failover: fix build on linux
This failed because libpam, which postgresql is now linked against, was missing as a
build input. In general, this is an indication that this extension needs the same
build inputs that postgresql was built with - so we just pass those instead.

This makes similar build failures less likely in the future.
2024-03-09 09:44:07 +01:00
Wolfgang Walther
f58132cb15
postgresql.pkgs.repmgr: fix build on linux
This failed because libpam, which postgresql is now linked against, was missing as a
build input. In general, this is an indication that this extension needs the same
build inputs that postgresql was built with - so we just pass those instead.

This makes similar build failures less likely in the future.
2024-03-09 09:44:07 +01:00
Wolfgang Walther
a69f3706c7
postgresql_12.pkgs.pg_repack: fix build
This failed because libxcrypt, which pg12 is linked against, was missing as a
build input. In general, this is an indication that this extension needs the
same build inputs that postgresql was built with - so we just pass those instead.

This makes similar build failures less likely in the future.
2024-03-09 09:44:07 +01:00
Wolfgang Walther
a1896739f6
postgresql.pkgs: remove broken conditions for legacy versions
PostgreSQL older than v12 is not in nixpkgs anymore, so marking those as
still broken in that case doesn't make sense anymore.
2024-03-09 09:44:07 +01:00
R. Ryantm
1d2030ab5b dolt: 1.35.0 -> 1.35.1 2024-03-08 15:21:53 +00:00
github-actions[bot]
590e65a7b3
Merge master into staging-next 2024-03-07 12:01:24 +00:00
Weijia Wang
60cfeda486
Merge pull request #285753 from r-ryantm/auto-update/mssql_jdbc
mssql_jdbc: 12.4.2 -> 12.6.1
2024-03-07 11:07:39 +01:00
Thomas Gerbet
a2f96c785d percona-server_8_0: 8.0.35-27 -> 8.0.36-28
Expected to fix the same set of issues than MySQL 8.0.36 (#284127).

* CVE-2024-20961
* CVE-2024-20962
* CVE-2024-20973
* CVE-2024-20975
* CVE-2024-20977
* CVE-2024-20960
* CVE-2024-20963
* CVE-2024-20985
* CVE-2024-20969
* CVE-2024-20967
* CVE-2024-20964
* CVE-2024-20981
* CVE-2024-20966
* CVE-2024-20970
* CVE-2024-20971
* CVE-2024-20972
* CVE-2024-20974
* CVE-2024-20976
* CVE-2024-20978
* CVE-2024-20982
* CVE-2024-20965
2024-03-06 19:33:27 +01:00
github-actions[bot]
ac779b472e
Merge master into staging-next 2024-03-05 18:01:25 +00:00
Nick Cao
f03f80f6b9
Merge pull request #293387 from r-ryantm/auto-update/proxysql
proxysql: 2.5.5 -> 2.6.0
2024-03-05 09:29:57 -05:00
github-actions[bot]
16bca48d25
Merge master into staging-next 2024-03-05 06:01:12 +00:00
R. Ryantm
2dcf474970 proxysql: 2.5.5 -> 2.6.0 2024-03-05 01:34:56 +00:00
R. Ryantm
08449a063f postgresql12JitPackages.pgvector: 0.6.0 -> 0.6.1 2024-03-05 00:34:49 +00:00
github-actions[bot]
fe2479b166
Merge master into staging-next 2024-03-04 18:00:55 +00:00
Nick Cao
54351a94b3
Merge pull request #293233 from r-ryantm/auto-update/pgbouncer
pgbouncer: 1.22.0 -> 1.22.1
2024-03-04 10:06:44 -05:00
R. Ryantm
e9f0ffd6ee pgbouncer: 1.22.0 -> 1.22.1 2024-03-04 12:41:27 +00:00
R. Ryantm
ceb877156f dolt: 1.34.3 -> 1.35.0 2024-03-03 23:07:58 +00:00
github-actions[bot]
26d76ed9a5
Merge master into staging-next 2024-03-03 00:02:18 +00:00
Mario Rodas
6ac2f71901
Merge pull request #292732 from r-ryantm/auto-update/postgresqlJitPackages.pg_ivm
postgresqlJitPackages.pg_ivm: 1.7 -> 1.8

Closes https://github.com/NixOS/nixpkgs/pull/292729
Closes https://github.com/NixOS/nixpkgs/pull/292730
Closes https://github.com/NixOS/nixpkgs/pull/292731
2024-03-02 14:31:33 -05:00
github-actions[bot]
f51807feea
Merge master into staging-next 2024-03-02 12:01:28 +00:00
Mario Rodas
a428415bac
Merge pull request #292314 from r-ryantm/auto-update/pgpool
pgpool: 4.5.0 -> 4.5.1
2024-03-02 06:28:09 -05:00
R. Ryantm
8526253869 postgresqlJitPackages.pg_ivm: 1.7 -> 1.8 2024-03-02 06:03:47 +00:00
annalee
a04ddbe327
Merge remote-tracking branch 'upstream/master' into sn-remove 2024-03-02 04:08:10 +00:00
R. Ryantm
a956a175bb rqlite: 8.21.3 -> 8.22.1 2024-03-01 03:20:45 +00:00
R. Ryantm
3ed8ea7dba pgpool: 4.5.0 -> 4.5.1 2024-02-29 10:23:32 +00:00
Martin Weinelt
65b31e498a Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/influxdb/default.nix
- pkgs/development/tools/misc/binutils/default.nix
2024-02-29 07:19:15 +01:00
R. Ryantm
0793cb1235 postgresql12JitPackages.pgroonga: 3.1.7 -> 3.1.8 2024-02-28 10:15:19 +00:00
github-actions[bot]
d2cfd53fa4
Merge staging-next into staging 2024-02-27 18:01:33 +00:00
Mario Rodas
e9dbae5824
Merge pull request #287012 from r-ryantm/auto-update/dolt
dolt: 1.32.6 -> 1.34.3
2024-02-27 08:57:42 -05:00
Nick Cao
c4ee868811
Merge pull request #291736 from r-ryantm/auto-update/rqlite
rqlite: 8.21.1 -> 8.21.3
2024-02-27 08:49:26 -05:00
R. Ryantm
7cb461e876 postgresqlJitPackages.plpgsql_check: 2.7.2 -> 2.7.3 2024-02-27 11:47:06 +00:00
R. Ryantm
f852899e96 rqlite: 8.21.1 -> 8.21.3 2024-02-27 04:35:23 +00:00
R. Ryantm
db56bb4785 dolt: 1.32.6 -> 1.34.3 2024-02-25 21:14:43 +00:00
github-actions[bot]
41e7732291
Merge staging-next into staging 2024-02-25 18:01:23 +00:00
Mario Rodas
7f6a434fc9
Merge pull request #291080 from r-ryantm/auto-update/postgresql15JitPackages.pg_net
postgresql15JitPackages.pg_net: 0.7.3 -> 0.8.0
2024-02-25 07:26:19 -05:00
github-actions[bot]
35aa42e19a
Merge staging-next into staging 2024-02-24 18:01:21 +00:00
github-actions[bot]
d6cc5bb41d
Merge master into staging-next 2024-02-24 18:00:56 +00:00
Mario Rodas
3bb3711ded postgresqlPackages.pg_net: fix build with gcc 2024-02-24 08:00:00 +00:00
R. Ryantm
7ad32769f4 postgresql15JitPackages.pg_net: 0.7.3 -> 0.8.0 2024-02-24 07:59:34 +00:00
R. Ryantm
6d762aa899 postgresql14Packages.lantern: 0.0.12 -> 0.2.0 2024-02-24 07:56:23 +00:00
github-actions[bot]
cfc5c35a0b
Merge staging-next into staging 2024-02-23 18:01:34 +00:00
github-actions[bot]
b67dbe0ff1
Merge master into staging-next 2024-02-23 18:01:06 +00:00
R. Ryantm
af71d13752 rqlite: 8.20.3 -> 8.21.1 2024-02-23 09:00:10 +00:00