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
e376aa94e4
Merge: postgresql.pg_config: add check to confirm output is correct ( #392418 )
2025-03-30 12:32:51 +02: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
Wolfgang Walther
caaf0ad3fb
postgresql{,TestHook}: avoid running postgresql during builds on darwin ( #392430 )
2025-03-24 20:47:43 +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
Wolfgang Walther
6db5dcc013
postgresql.pg_config: add check to confirm output is correct
...
This is only tested on native builds against the output of the original
pg_config, which should be enough.
2025-03-23 20:40:37 +01:00
Wolfgang Walther
7a35667a1c
postgresql: simplify doInstallCheck condition and fix comments
2025-03-23 16:43:00 +01: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
Maximilian Bosch
468c945889
Merge: postgresqlPackages.pg_tle: 1.4.0 -> 1.5.0 ( #391592 )
2025-03-22 17:57:58 +00:00
nixpkgs-ci[bot]
3b3300fdd1
Merge staging-next into staging
2025-03-22 12:05:57 +00:00
Vladimír Čunát
d0f3296284
postgresql: drop tests on aarch64-darwin, too
...
I don't know. No progress in sight.
Let's at least unblock all those dependees.
2025-03-22 07:43:34 +01: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
2888972b4f
postgresql: fix tclSupport with strictDeps
...
Can't find tcl anymore ever since we enabled strictDeps. Need to do the
same as for perl and python.
2025-03-21 18:09:36 +01:00
Wolfgang Walther
0ccd469787
postgresql: fix cross-compilation with perlSupport
...
Perl is available in nativeBuildInputs, but the perl used at runtime,
must be a different one. Thus, we need to explicitly tell configure
about it, similar to how we did with python.
2025-03-21 18:09:35 +01:00
Wolfgang Walther
33782bdff6
postgresql: remove left-over buildInput python
...
We don't need to pass it as build input anymore, because we pass it via
PYTHON environment variable already.
2025-03-21 18:09:35 +01:00
Wolfgang Walther
82e2064212
postgresql: switch to makeBinaryWrapper
...
This could be slightly faster and since "postgres" is called for every
connection, it could theoretically make a difference with high
throughput.
2025-03-21 18:09:34 +01:00
Wolfgang Walther
1173e312e3
postgresql: disable unconditional plperl in versions before 17
...
We accidentally enabled building plperl in versions before 17
unconditionally, which was not intended.
Happened in be8612e15a .
2025-03-21 18:09:33 +01:00
Wolfgang Walther
5dff1a074f
postgresql: use lib.getExe
2025-03-21 18:09:28 +01:00
Wolfgang Walther
39337618bb
postgresql: use meta.availableOn for linux-pam
2025-03-21 18:09:23 +01:00
Wolfgang Walther
f9765933f4
postgresql: move CFLAGS comment
...
This only applies to CFLAGS, not all of env.
2025-03-21 18:09:21 +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
nixpkgs-ci[bot]
47fbdfd4fc
Merge staging-next into staging
2025-03-20 00:16:05 +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
nixpkgs-ci[bot]
e8240407b0
Merge staging-next into staging
2025-03-18 18:05:35 +00: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
259b4ff913
postgresql: split postgresqlTestExtension into separate file
2025-03-18 18:17:25 +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