Commit Graph

1254 Commits

Author SHA1 Message Date
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
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]
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
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
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
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]
882e0f27d3
Merge staging-next into staging 2024-04-05 18:01:27 +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
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