Commit Graph

1416 Commits

Author SHA1 Message Date
Diogo Correia
b50641edc8 postgresqlPackages: use finalAttrs pattern on cargo-pgrx extensions 2025-04-13 12:53:02 +01:00
Wolfgang Walther
052547291e postgresqlPackages: use finalAttrs pattern where possible 2025-04-12 21:10:55 +02:00
nixpkgs-ci[bot]
a78b3ccf56 Merge staging-next into staging 2025-04-12 12:06:06 +00:00
nixpkgs-ci[bot]
de34ff9def Merge master into staging-next 2025-04-12 12:05:35 +00:00
Wolfgang Walther
44060c6fc4 postgresqlPackages.pg-gvm: 22.6.8 -> 22.6.9 (#398036) 2025-04-12 11:53:20 +00:00
nixpkgs-ci[bot]
3bf50e95e8 Merge staging-next into staging 2025-04-12 00:15:51 +00:00
nixpkgs-ci[bot]
568e990505 Merge master into staging-next 2025-04-12 00:15:26 +00:00
R. Ryantm
369560e5b6 postgresqlPackages.pg-gvm: 22.6.8 -> 22.6.9 2025-04-11 23:28:07 +00:00
R. Ryantm
79f58ff6a2 postgresqlPackages.timescaledb-apache: 2.19.1 -> 2.19.2 2025-04-11 15:00:32 +00:00
nixpkgs-ci[bot]
9b0e9beb82 Merge staging-next into staging 2025-04-07 12:06:54 +00:00
K900
74d5b70eb2 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-07 09:36:05 +03:00
Pol Dellaiera
f92efd3183 treewide: remove unneeded string interpolation 2025-04-07 08:08:12 +02:00
nixpkgs-ci[bot]
5c0edef29f Merge staging-next into staging 2025-04-06 00:17:25 +00:00
K900
5e55028d84 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-05 21:29:35 +03:00
Wolfgang Walther
c0f7566ed5 postgresqlPackages.plv8: mark as broken on darwin
Darwin seems to be principially supported according to upstream's issue
tracker[1], but it fails to build. Thus marking as broken instead of
unsupported.

[1]: https://github.com/plv8/plv8/issues/303#issuecomment-424883342
2025-04-05 13:41:31 +02:00
Wolfgang Walther
cd972edfe4 postgresqlJitPackages.plv8: unbreak
This was originally marked as broken, because plv8 hardcoded gcc in its
Makefile. This has been resolved upstream in the meantime, so it builds
fine.
2025-04-05 13:41:30 +02:00
Wolfgang Walther
0ecb1549b4 postgresqlPackages.pg_auto_failover: 2.1 -> 2.2 2025-04-04 22:24:01 +02:00
Silvan Mosberger
e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02:00
Wolfgang Walther
b9d43b3fe5 postgresqlPackages.timescaledb-apache: 2.19.0 -> 2.19.1 (#395179) 2025-04-01 20:08:20 +00:00
R. Ryantm
f651e277be postgresqlPackages.pgmq: 1.5.0 -> 1.5.1 2025-04-01 15:58:44 +00:00
R. Ryantm
e627a1bf2b postgresqlPackages.timescaledb-apache: 2.19.0 -> 2.19.1 2025-04-01 13:16:18 +00:00
K900
a6d5666400 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-01 08:39:50 +03:00
Maximilian Bosch
8aedff852a postgresqlPackages.pgvectorscale: init at 0.7.0
Closes #345457

Can be installed with

    {
      services.postgresql.extensions = ps: [
        ps.pgvector
        ps.pgvectorscale
      ];
    }
2025-03-27 12:49:59 +01:00
nixpkgs-ci[bot]
f079e356d1 Merge staging-next into staging 2025-03-25 00:16:28 +00:00
Diogo Correia
3b9ecf2399 postgresqlPackages.pgvecto-rs: use useFetchCargoVendor 2025-03-24 15:14:10 +00:00
Diogo Correia
f875b09f1e pgvecto-rs: update links in comments to new website
The pgvecto.rs domain is no longer registered.
2025-03-24 14:22:42 +00:00
nixpkgs-ci[bot]
a0b6cef18b Merge staging-next into staging 2025-03-23 00:17:22 +00:00
Maximilian Bosch
238aa4f6c3 Merge: postgresqlPackages.citus: 13.0.2 -> 13.0.3 (#391837) 2025-03-22 18:34:37 +00:00
Maximilian Bosch
0830a0bb3a Merge: postgresqlPackages.pg_ivm: 1.9 -> 1.10 (#391878) 2025-03-22 18:11:01 +00:00
nixpkgs-ci[bot]
a9379697ea Merge staging-next into staging 2025-03-22 18:05:14 +00:00
Wolfgang Walther
783a2900cf postgresql: provide PL/Perl, PL/Python and PL/Tcl as packages (#385859) 2025-03-21 18:50:30 +00:00
Wolfgang Walther
08883bbf9c postgresqlPackages.plr: add withPackages helper
This allows passing packages to PL/R without rebuilding anything.
2025-03-21 18:19:43 +01:00
Wolfgang Walther
527713c1db postgresql: provide pltcl extension as package
This allows us to always build the extension, but still have the user
explicitly enable it without causing rebuilds.
2025-03-21 18:19:42 +01:00
Wolfgang Walther
310ec25e98 postgresql: provide plperl extension as package
This allows us to always build the extension, but still have the user
explicitly enable it without causing rebuilds.
2025-03-21 18:19:41 +01:00
Wolfgang Walther
fbdb09b2cc postgresql: provide plpython3 extension as package
This allows us to always build the extension, but still have the user
explicitly enable it without causing rebuilds.
2025-03-21 18:15:28 +01:00
Wolfgang Walther
88dfade94b postgresql: replace pg_config with custom script
By replacing upstream's pg_config binary with a shell script, we:
- gain the ability to run pg_config easily when cross-compiling,
- can remove the fake pg_config in the default output,
- can remove the pg_config wrapper script dealing with special cases.

Some 20 years ago, pg_config *was* a shell script upstream, too. It was
changed to a binary, when it was made "relocatable", so it would return
paths depending on the location of the "postgres" binary. However, this
is exactly the thing that just hurts us in nixpkgs - we don't want those
paths to change, we want them to always point at the right outputs. By
writing the script ourselves, this becomes a lot less painful.

This approach means more lines of codes, but all of them are dead simple
and we have a lot less complexity overall.

Additionally, pg_config is now made a separate derivation, only exposed
as "postgresql.pg_config". This has the nice side-effect, that all users
of postgresql and libpq in nixpkgs must be very *explicit* about their
dependency on pg_config. This gives a lot more visibility into the state
of affairs regarding pkg-config support for libpq, which ultimately is
the much better solution.
2025-03-21 18:05:38 +01:00
R. Ryantm
eb70c004ba postgresqlPackages.pg_ivm: 1.9 -> 1.10 2025-03-21 14:21:57 +00:00
R. Ryantm
ae7f1a7297 postgresqlPackages.citus: 13.0.2 -> 13.0.3 2025-03-21 12:12:31 +00:00
R. Ryantm
44e782ed5a postgresqlPackages.pg_tle: 1.4.0 -> 1.5.0 2025-03-20 15:28:13 +00:00
Nikolay Korotkiy
7106b62394 postgresqlJitPackages.timescaledb: fix build 2025-03-20 00:43:45 +04:00
Nikolay Korotkiy
293866706b postgresqlPackages.timescaledb: 2.18.2 -> 2.19.0 2025-03-19 23:50:47 +04:00
Wolfgang Walther
65cee89d7e postgresqlPackages.citus: fix build on darwin
The build on darwin was broken for v16 and v17 only. This was fixed
upstream a while ago, but somehow the fix has not been released, yet.
2025-03-18 18:17:30 +01:00
Wolfgang Walther
72b8186ff7 postgresqlPackages: rename buildPostgresqlExtension to postgresqlBuildExtension
This is for consistency with postgresqlTestExtension and
postgresqlTestHook. Everything that is passed via postgresql's
generic.nix "packages scope" now is prefixed with "postgresql".
2025-03-18 18:17:24 +01:00
Wolfgang Walther
6e0738b8c2 postgresqlPackages: load automatically from ext/ folder
No need to manually put them in the default.nix file anymore.
2025-03-18 18:17:24 +01:00
Wolfgang Walther
a01c101200 postgresqlPackages.pg_tle: sort arguments 2025-03-18 18:17:23 +01:00
Wolfgang Walther
53fc911cbd postgresqlPackages.pgx_ulid: sort arguments 2025-03-18 18:17:22 +01:00
Wolfgang Walther
e0aaaa79ea postgresqlPackages.pgddl: sort arguments 2025-03-18 18:17:21 +01:00
Wolfgang Walther
d14917c317 postgresqlPackages.wal2json: modernize 2025-03-18 18:17:21 +01:00
Wolfgang Walther
5018714b31 postgresqlPackages.tsja: modernize 2025-03-18 18:17:20 +01:00
Wolfgang Walther
43ace7386f postgresqlPackages.timescaledb_toolkit: modernize 2025-03-18 18:17:19 +01:00