Commit Graph

1416 Commits

Author SHA1 Message Date
Euan Kemp
554ec1c0f0 nixos/tests: add postgresql wal2json test
This test should ensure wal2json functions.
I'm planning to upgrade wal2json, so it seems nice to have a test here.

It passes on my machine.
2024-09-14 05:17:49 +00:00
github-actions[bot]
32f893fe9e Merge staging-next into staging 2024-08-27 00:13:33 +00:00
Rebecca Turner
6602decb96 postgis: Do not hardcode test suite path (#336889)
postgis: Fix test suite

Fixes this failure:

```
Creating database 'postgis_reg-3.4'.
sh: line 1: /tmp/pgis_reg/regress_log: Permission denied
2024-08-23 19:26:18.810 UTC [3295760] FATAL:  database "postgis_reg-3.4" does not exist
psql: error: FATAL:  database "postgis_reg-3.4" does not exist
Loading unpackaged components from /tmp/nix-build-postgis-3.4.2.drv-0/postgis-3.4.2/regress/00-regress-install/nix/store/kg8g82wxhar9iadxrd3pra3af174khpb-postgis-3.4.2/share/postgresql/contrib/postgis
Loading PostGIS into 'postgis_reg-3.4'
sh: line 1: /tmp/pgis_reg/regress_log: Permission denied
 failed (Error encountered loading /tmp/nix-build-postgis-3.4.2.drv-0/postgis-3.4.2/regress/00-regress-install/nix/store/kg8g82wxhar9iadxrd3pra3af174khpb-postgis-3.4.2/share/postgresql/contrib/postgis/postgis.sql: /tmp/pgis_reg/regress_log)
make: *** [regress/runtest.mk:24: check-regress] Error 1
```
2024-08-26 11:39:19 -07:00
github-actions[bot]
ba8924e6a0 Merge staging-next into staging 2024-08-26 00:13:41 +00: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
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
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
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
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
Ivan Kozik
8fbfdcec4a postgresqlPackages.pg_embedding: remove ivan from maintainers 2024-07-06 06:18:15 +00: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
Sandro
e5aa50d733 Merge pull request #319256 from shivaraj-bh/system_stats 2024-06-20 12:11:16 +02:00
shivaraj-bh
da694466aa system_stats: init at 3.0 2024-06-19 21:18:44 +05:30
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
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
Sigmanificient
8b473d1a27 treewide: remove unused fetch* (and other) arguments 2024-05-30 13:36:48 +02:00
Thomas Gerbet
773c17e752 postgresqlPackages.plv8: 3.1.10 -> 3.2.2
Changes:
https://github.com/plv8/plv8/blob/v3.2.2/Changes
2024-05-30 11:30:47 +02:00
Scott Dier
d5c9f4b273 timescaledb_toolkit: Fix license metadata to TSL license. 2024-05-27 00:46:47 +02:00
Jussi Kuokkanen
8064d28a4f pkgs/servers: remove licenses.gpl2 2024-05-23 11:49:42 +03: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
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
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
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +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
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
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
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
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