Commit Graph

2448 Commits

Author SHA1 Message Date
Wolfgang Walther
53c381fdf3 postgresql18Packages.pg_hint_plan: add note about upstream ticket 2025-07-07 14:31:23 +02:00
Wolfgang Walther
59e77beb3b postgresql18Packages.pg_safeupdate: unbreak 2025-07-07 14:31:20 +02:00
Wolfgang Walther
1a78867a15 postgresql18Packages.{pg_hint_plan,pg_safeupdate,pgaudit}: mark broken
No source specification for v18 available, yet, so they should be marked
broken instead of throwing random errors and breaking the
maintainer/update script.
2025-07-07 14:31:13 +02:00
Wolfgang Walther
8ea2c88439 buildPgrxExtension: require pinning cargo-pgrx
Each extension always depends on a specific cargo-pgrx version, so make
pinning a requirement.
2025-07-07 10:03:22 +02:00
Wolfgang Walther
7451df7a5e postgresql.withPackages: add dev output
This avoids leaking the dev output and all its dependencies into regular
postgresql.withPackages builds, most notably postgresql_jit.
2025-07-06 18:16:23 +02:00
nixpkgs-ci[bot]
d23574df3a Merge master into staging-next 2025-07-06 11:22:41 +00:00
Maximilian Bosch
101c6df67b postgresqlPackages.pg_net: remove general -Wno-error
I wondered if this is strictly needed and it turns out that except from
the postgresql_18 version failing with

    pg_net> src/worker.c:20:14: error: no previous extern declaration for non-static variable 'worker_state' [-Werror,-Wmissing-variable-declarations]
    pg_net>    20 | WorkerState *worker_state = NULL;
    pg_net>       |              ^
    pg_net> src/worker.c:20:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
    pg_net>    20 | WorkerState *worker_state = NULL;
    pg_net>       | ^
    pg_net> 1 error generated.
    pg_net> make: *** [<builtin>: src/worker.o] Error 1

the package builds without it.
2025-07-06 10:13:24 +02:00
R. Ryantm
49ec00ec7f postgresqlPackages.pg_net: 0.16.0 -> 0.18.0 2025-07-06 09:59:03 +02:00
nixpkgs-ci[bot]
61be326d8b Merge master into staging-next 2025-07-05 18:05:00 +00:00
Wolfgang Walther
aa0388067d postgresql_18: init at 18beta1 (#411958) 2025-07-05 14:08:39 +00:00
Wolfgang Walther
04b04dee40 postgresqlPackages.vectorchord: init at 0.4.2 (#392710) 2025-07-05 12:24:38 +00:00
Kamil Monicz
ec2006affb postgresql_18: support curl/numa/uring 2025-07-05 11:52:42 +02:00
Kamil Monicz
6cdfc25ae4 postgresql_18: init at 18beta1 2025-07-05 11:52:42 +02:00
nixpkgs-ci[bot]
fa737a17ea Merge staging-next into staging 2025-07-04 12:08:16 +00:00
Wolfgang Walther
55dc7f4585 postgresqlPackages.omnigres: 0-unstable-2025-06-03 -> 0-unstable-2025-06-27 (#422122) 2025-07-04 11:59:58 +00:00
Wolfgang Walther
6c39351a7c postgresqlPackages.plpgsql_check: 2.7.15 -> 2.8.1 (#391954) 2025-07-04 07:56:10 +00:00
R. Ryantm
6faad7b27b postgresqlPackages.plpgsql_check: 2.7.15 -> 2.8.1 2025-07-04 09:47:12 +02:00
R. Ryantm
53b89aca2b postgresqlPackages.omnigres: 0-unstable-2025-06-03 -> 0-unstable-2025-06-27 2025-07-03 15:17:39 +00:00
Diogo Correia
ab82f5a511 postgresqlPackages.vectorchord: init at 0.4.2 2025-07-02 13:36:52 +01:00
Wolfgang Walther
f307abef1e postgresql.withPackages.pg_config: fix paths (#419486) 2025-06-27 14:38:44 +00:00
Diogo Correia
40c358076c postgresqlPackages.{pgvectorscale,pgx_ulid}: pin cargo-pgrx 0.12.6 2025-06-26 18:40:36 +01:00
R. Ryantm
a580f7e5f0 postgresqlPackages.pg_net: 0.15.1 -> 0.16.0 2025-06-26 10:41:58 +00:00
R. Ryantm
82dbe793af postgresqlPackages.h3-pg: 4.2.2 -> 4.2.3 2025-06-24 20:54:11 +00:00
Wolfgang Walther
9a146d1244 postgresql.withPackages.pg_config: fix paths
Previously, pg_config would report the paths of the underlying
postgresql derivation and not the paths of the buildEnv that
postgresql.withPackages creates.

That's a problem when users of pg_config use it to find PostgreSQL's
sharedir, in which they'd like to find the extensions added via
withPackages. Those are only linked into the created buildEnv, but not
available in the postgresql derivation.

By providing our own nix-support/pg_config.env file, we can swap out
those paths. We also do the same for the -man output, because this
output is linked into buildEnv as well. Other paths, which are not
available in the buildEnv environment, will still link to the original
postgresql derivation. Win-win!
2025-06-24 10:01:07 +02:00
Luke Granger-Brown
a013d9258c nixos/nipap: init 2025-06-23 21:52:32 +01:00
Luke Granger-Brown
5a0374e20e postgresqlPackages.ip4r: init at 2.4.2 2025-06-23 00:12:13 +01:00
Wolfgang Walther
6c455620b3 postgresqlPackages.timescaledb: fix passthru tests
timescaledb_toolkit never was a library to be preloaded anyway, it must
have found its way in there by accident. The extension is created via
CREATE EXTENSION, and that's enough for the test to pass.

The reason this fails is, because a recent commit changed the way the
timescaledb_toolkit.so library is created - it now carries a version
number, which makes PostgreSQL not able to find it.
2025-06-12 14:10:21 +02:00
Wolfgang Walther
eb29e816c5 postgresqlPackages.timescaledb: 2.20.2 -> 2.20.3 (#415941) 2025-06-12 10:21:23 +00:00
R. Ryantm
694c438105 postgresqlPackages.timescaledb: 2.20.2 -> 2.20.3 2025-06-11 19:55:14 +00:00
WilliButz
356d4fc91c treewide: remove myself from maintainers
This removes maintainer entries which haven't reflected reality for a
while, mostly due to a change in focus towards other topics.
2025-06-11 17:39:42 +02:00
syvb
4183008322 postgresqlPackages.timescaledb_toolkit: run post-install script 2025-06-09 20:22:58 -04:00
Wolfgang Walther
435b64d298 postgresqlPackages.omnigres: 0-unstable-2025-05-16 -> 0-unstable-2025-06-03 (#414586) 2025-06-09 13:14:59 +00:00
Marcos Benevides
d6b530cc9c postgresqlPackages.omnigres: 0-unstable-2025-05-16 -> 0-unstable-2025-06-03
---------

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-06-09 08:59:50 -04:00
R. Ryantm
b6286021a2 postgresqlPackages.timescaledb-apache: 2.20.1 -> 2.20.2 2025-06-07 22:58:08 +00:00
R. Ryantm
8308f5ed6a postgresqlPackages.pg_net: 0.14.0 -> 0.15.1 2025-06-07 15:57:10 +00:00
Morgan Jones
882a768134 postgresql: configurable blocksize (#411966) 2025-05-30 09:55:29 -07:00
Kamil Monicz
6ca1ec94f5 postgresql: configurable blocksize 2025-05-29 13:52:21 +02:00
R. Ryantm
ae47547b26 postgresqlPackages.pg_ivm: 1.10 -> 1.11 2025-05-29 01:46:41 +00:00
R. Ryantm
2ed3d93854 postgresqlPackages.timescaledb-apache: 2.20.0 -> 2.20.1 2025-05-27 22:16:42 +00:00
Marcos Benevides
c4381dafbc omnigres: init at 0-unstable-2025-05-16
---------

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
Co-authored-by: Yurii Rashkovskii <yrashk@gmail.com>
2025-05-20 07:19:12 -04:00
Wolfgang Walther
867c07c1b6 postgresqlPackages.pg_tle: 1.5.0 -> 1.5.1 (#407257) 2025-05-16 20:26:12 +00:00
R. Ryantm
71ae3ddcb0 postgresqlPackages.timescaledb-apache: 2.19.3 -> 2.20.0 2025-05-16 20:08:34 +10:00
R. Ryantm
6b52d2e642 postgresqlPackages.pg_tle: 1.5.0 -> 1.5.1 2025-05-15 06:07:48 +00:00
nixpkgs-ci[bot]
24f25d9d29 Merge master into staging-next 2025-05-11 18:05:07 +00:00
Nikolay Korotkiy
55116ee2c8 postgresqlPackages.pgrouting: 3.7.3 → 3.8.0 2025-05-11 17:07:12 +04:00
nixpkgs-ci[bot]
9af3319f5f Merge master into staging-next 2025-05-11 12:06:00 +00:00
Wolfgang Walther
065fefd975 postgresqlTestHook: shutdown on failure
Previously, the user of postgresqlTestHook would have needed to set
failureHook accordingly. However, this was not a clean solution, because
postgresqlStop would also run for configure or build failures, before
the server was even started. This gave odd errors from a failed shutdown
in the log.

Now postgresqlStop is only called when it makes sense - and whenever
postgresqlTestHook is used.
2025-05-11 10:44:20 +02:00
Wolfgang Walther
e1573ae30b postgresqlPackages: remove unused inputs
Thanks, deadnix.
2025-05-11 10:44:16 +02:00
Alyssa Ross
0af6d76cda Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	nixos/doc/manual/release-notes/rl-2505.section.md
2025-05-10 23:23:16 +02:00
K900
578c3f18a7 postgis: backport patch to fix tests with GDAL 3.11 2025-05-10 16:45:38 +03:00