Commit Graph

1237 Commits

Author SHA1 Message Date
Mario Rodas
af11da2bae Revert "postgresql16Packages.pgtap: 1.3.0 -> 1.3.1"
This reverts commit 6f9e07dd45.
2023-12-16 13:42:57 -05:00
github-actions[bot]
c65234130e
Merge staging-next into staging 2023-12-16 18:01:22 +00:00
Maximilian Bosch
ccc22d33c3
Merge pull request #273304 from r-ryantm/auto-update/postgresql12JitPackages.plpgsql_check
postgresql12JitPackages.plpgsql_check: 2.6.2 -> 2.7.0
2023-12-16 18:48:59 +01:00
Maximilian Bosch
16ccd41a11
Merge pull request #267393 from arnarg/postgresql-enable-pam
postgresql: add pam support on linux
2023-12-13 22:32:12 +01:00
Tom Houlé
8042d5e6ad cargo-pgrx: 0.11.0 -> 0.11.2 2023-12-13 14:37:50 +00:00
Arnar Gauti Ingason
5841f51f88 postgresql: add pam support on linux 2023-12-12 08:22:06 +01:00
R. Ryantm
c15f418082 postgresql12JitPackages.plpgsql_check: 2.6.2 -> 2.7.0 2023-12-10 09:11:00 +00:00
Jos van Bakel
37b106f9b0 postgresql.pkgs.timescaledb_toolkit: 1.16.0 -> 1.18.0 2023-12-03 22:27:28 +00:00
Mario Rodas
9d5b3caa27
Merge pull request #270910 from marsam/update-timescaledb
postgresqlPackages.timescaledb: 2.12.2 -> 2.13.0
2023-11-29 23:33:58 -05:00
Mario Rodas
c1fd973219
Merge pull request #270894 from r-ryantm/auto-update/postgresql12JitPackages.pgroonga
postgresql12JitPackages.pgroonga: 3.0.8 -> 3.1.5
2023-11-29 19:07:12 -05:00
R. Ryantm
2b5ffc9263 postgresql12JitPackages.pgroonga: 3.0.8 -> 3.1.5 2023-11-29 10:02:39 +00:00
Mario Rodas
e3713bd640 postgresqlPackages.pgrouting: 3.6.0 -> 3.6.1
Diff: https://github.com/pgRouting/pgrouting/compare/v3.6.0...v3.6.1

Changelog: https://github.com/pgRouting/pgrouting/releases/tag/v3.6.1
2023-11-29 04:20:00 +00:00
Gaël Reyrol
54a1ee217c
postgresqlPackages.pg_uuidv7: 1.3.0 -> 1.4.0 2023-11-29 08:45:40 +01:00
Ivan Mincik
9d53f93b88 postgresqlPackages.pgrouting: add geospatial team to maintainers 2023-11-28 12:56:11 +01:00
Mario Rodas
358670d6ae postgresql12Packages.timescaledb: mark broken 2023-11-28 04:20:00 +00:00
Mario Rodas
60f8cd13cc postgresqlPackages.timescaledb: 2.12.2 -> 2.13.0
Diff: https://github.com/timescale/timescaledb/compare/2.12.2...2.13.0

Changelog: https://github.com/timescale/timescaledb/blob/2.13.0/CHANGELOG.md
2023-11-28 04:20:00 +00:00
Mario Rodas
bf92006f47 postgresqlPackages.pgrouting: fix build darwin 2023-11-26 12:38:00 +00:00
R. Ryantm
f3530d0ddb postgresql12JitPackages.pgrouting: 3.5.1 -> 3.6.0 2023-11-26 12:37:31 +00:00
Mario Rodas
75144f62b4 postgresql16Packages.plpgsql_check: 2.6.1 -> 2.6.2
Diff: https://github.com/okbob/plpgsql_check/compare/v2.6.1...v2.6.2

Changelog: https://github.com/okbob/plpgsql_check/releases/tag/v2.6.2
2023-11-25 04:20:00 +00:00
Mario Rodas
4fbb794e87 postgresqlPackages.pg_auto_failover: 2.0 -> 2.1
Diff: https://github.com/citusdata/pg_auto_failover/compare/v2.0...v2.1

Changelog: https://github.com/citusdata/pg_auto_failover/blob/v2.1/CHANGELOG.md
2023-11-23 04:20:00 +00:00
Mario Rodas
f325e2f5d7 postgresql16Packages.pg_safeupdate: 1.4 -> 1.5
Diff: https://github.com/eradman/pg-safeupdate/compare/1.4...1.5

Changelog: https://github.com/eradman/pg-safeupdate/raw/1.5/NEWS
2023-11-23 04:20:00 +00:00
Mario Rodas
00d4968679
Merge pull request #269340 from reckenrode/postgis-fix
postgresqlPackages.postgis: fix build on clang 12+
2023-11-23 22:57:08 -05:00
Randy Eckenrode
b6d4be13d0
postgresqlPackages.postgis: fix build on clang 12+
Work around https://github.com/NixOS/nixpkgs/issues/166205
2023-11-23 11:30:24 -05:00
R. Ryantm
c2ef75a0ad postgresql12JitPackages.postgis: 3.4.0 -> 3.4.1 2023-11-21 08:02:48 +00:00
Nikolay Korotkiy
4045370fd5
Merge pull request #267603 from imincik/postgis-add-geospatial-team-maint
postgresqlPackages.postgis: add geospatial team to maintainers
2023-11-17 17:42:14 +04:00
Ivan Mincik
ea8b577bbc postgresqlPackages.postgis: add geospatial team to maintainers 2023-11-15 06:29:50 +01:00
Mario Rodas
57970bb73a postgresql_jit: fix build
These patches are already included in the latest release.

This reverts commit 8fbd381b8a.
2023-11-12 04:20:00 +00:00
Mario Rodas
943ad0d53e postgresql_16: 16.0 -> 16.1
Changelog: https://www.postgresql.org/docs/release/16.1/
2023-11-10 04:20:00 +00:00
Mario Rodas
b38f22b9ca postgresql_15: 15.4 -> 15.5
Changelog: https://www.postgresql.org/docs/release/15.5/
2023-11-10 04:20:00 +00:00
Mario Rodas
381fc074de postgresql_14: 14.9 -> 14.10
Changelog: https://www.postgresql.org/docs/release/14.10/
2023-11-10 04:20:00 +00:00
Mario Rodas
c7a1eb3332 postgresql_13: 13.12 -> 13.13
Changelog: https://www.postgresql.org/docs/release/13.13/
2023-11-10 04:20:00 +00:00
Mario Rodas
1abcce65a9 postgresql_12: 12.16 -> 12.17
Changelog: https://www.postgresql.org/docs/release/12.17/
2023-11-10 04:20:00 +00:00
Mario Rodas
8a770420d4 postgresql: add changelog to meta 2023-11-10 04:20:00 +00:00
github-actions[bot]
2ecaf22639
Merge master into staging-next 2023-11-05 12:01:15 +00:00
Mario Rodas
b34e235b65 postgresql16Packages.plpgsql_check: 2.6.0 -> 2.6.1
Diff: https://github.com/okbob/plpgsql_check/compare/v2.6.0...v2.6.1

Changelog: https://github.com/okbob/plpgsql_check/releases/tag/v2.6.1
2023-11-05 04:20:00 +00:00
R. Ryantm
842ad6b907 postgresql12JitPackages.plpgsql_check: 2.5.4 -> 2.6.0 2023-11-04 17:28:07 +00:00
github-actions[bot]
d4d107cf3d
Merge master into staging-next 2023-11-02 00:02:27 +00:00
Mario Rodas
5fc25dedf3
Merge pull request #257164 from ivan/init-pg_embedding-0.3.6
postgresqlPackages.pg_embedding: init at 0.3.6
2023-11-01 13:02:23 -05:00
github-actions[bot]
97868dae8e
Merge master into staging-next 2023-10-31 06:00:58 +00:00
Maximilian Bosch
945cdad4ee
postgresql: remove pipelinedb extension
This one is apparently abandoned by upstream and only supported
postgresql_11 which is about to be dropped from nixpkgs.
2023-10-30 15:01:31 +01:00
Maximilian Bosch
6d82eb7753
postgresqlPackages: remove compat with postgresql_11 2023-10-30 14:26:44 +01:00
Maximilian Bosch
1220a4d4dd
postgresql_11: remove
As described in the release lifecycle docs from postgresql[1], v11 will
stop receiving fixes as of Nov 9 2023. This means it's EOL throughout
the entire lifetime of 23.11, so let's drop it now.

A lot of examples are also referencing postgresql_11. Where it's
sensible, use postgresql_15 as example now to avoid confusion.

This is also handy because the LLVM 16 fix for postgresql is not
available for postgresql 11 ;-)

[1] https://www.postgresql.org/support/versioning/
2023-10-30 10:41:16 +01:00
Maximilian Bosch
8fbd381b8a
postgresql_jit: fix build
Failing Hydra build: https://hydra.nixos.org/build/239477682/nixlog/1

This got fixed upstream already in the release branches, applying the
patches here solves the issue.

This skips v11 since there's no patch available and it will be dropped
soon anyways[1].

[1] #264250
2023-10-29 23:58:28 +01:00
Peder Bergebakken Sundt
fb1c60b65a
Merge pull request #262224 from chayleaf/tsja
postgresqlPackages.tsja: init at 0.5.0
2023-10-27 19:53:14 +02:00
chayleaf
47646a34ba
postgresqlPackages.tsja: init at 0.5.0 2023-10-27 01:09:48 +07:00
Mario Rodas
991c8a8cf7 postgresqlPackages.pg_cron: 1.6.1 -> 1.6.2
Diff: https://github.com/citusdata/pg_cron/compare/v1.6.1...v1.6.2

Changelog: https://github.com/citusdata/pg_cron/raw/v1.6.2/CHANGELOG.md
2023-10-25 04:20:00 +00:00
Mario Rodas
63678e9f3d
Merge pull request #263491 from marsam/update-plpgsql_check
postgresqlPackages.plpgsql_check: 2.5.3 -> 2.5.4
2023-10-26 06:01:41 -05:00
Mario Rodas
fb97aa67ab
Merge pull request #262882 from gaelreyrol/postgresql-packages-pg_uudiv7-init
postgresqlPackages.pg_uuidv7: init at 1.3.0
2023-10-25 20:56:56 -05:00
Mario Rodas
f630a7b65a postgresqlPackages.plpgsql_check: 2.5.3 -> 2.5.4
Diff: https://github.com/okbob/plpgsql_check/compare/v2.5.3...v2.5.4

Changelog: https://github.com/okbob/plpgsql_check/releases/tag/v2.5.4
2023-10-25 04:20:00 +00:00
Bruno Bigras
6901ab53f5 postgresqlPackages.hypopg: init at 1.4.0 2023-10-23 16:19:21 -04:00
Gaël Reyrol
d42436b175
postgresqlPackages.pg_uuidv7: init at 1.3.0 2023-10-23 10:33:38 +02:00
Mario Rodas
d6dbcefb30 postgresqlPackages.timescaledb: 2.12.1 -> 2.12.2
Diff: https://github.com/timescale/timescaledb/compare/2.12.1...2.12.2

Changelog: https://github.com/timescale/timescaledb/blob/2.12.2/CHANGELOG.md
2023-10-20 04:20:00 +00:00
Meet Barot
19a4154a7c postgresql: Add meta.pkgConfigModules and test 2023-10-16 00:36:24 -04:00
Mario Rodas
a0acbbbf67
Merge pull request #260626 from marsam/update-timescaledb
postgresqlPackages.timescaledb: 2.12.0 -> 2.12.1
2023-10-13 08:42:37 -05:00
Mario Rodas
b52131dbbe
Merge pull request #260793 from r-ryantm/auto-update/postgresql11JitPackages.tds_fdw
postgresql11JitPackages.tds_fdw: unstable-2023-07-20 -> unstable-2023-09-28
2023-10-13 08:41:54 -05:00
R. Ryantm
83e81819e5 postgresql11JitPackages.tds_fdw: unstable-2023-07-20 -> unstable-2023-09-28 2023-10-12 23:35:53 +00:00
R. Ryantm
efa025f3b3 postgresql11JitPackages.pg_cron: 1.6.0 -> 1.6.1 2023-10-12 23:28:57 +00:00
Mario Rodas
1011a8c946 postgresqlPackages.timescaledb: 2.12.0 -> 2.12.1
Diff: https://github.com/timescale/timescaledb/compare/2.12.0...2.12.1

Changelog: https://github.com/timescale/timescaledb/blob/2.12.1/CHANGELOG.md
2023-10-12 04:20:00 +00:00
Mario Rodas
d9a975bdd7 postgresqlPackages.pgvector: 0.5.0 -> 0.5.1
Diff: https://github.com/pgvector/pgvector/compare/v0.5.0...v0.5.1

Changelog: https://github.com/pgvector/pgvector/raw/v0.5.1/CHANGELOG.md
2023-10-11 04:20:00 +00:00
Mario Rodas
eb745fa4d7
Merge pull request #259734 from marsam/postgresql-update-extensions
postgresql: update extensions
2023-10-10 08:35:15 -05:00
Yureka
8a0223ec08
postgresql: reorganize musl patches (#260067)
This also adds support for building postgresql 15 and 16 under musl.
2023-10-10 00:51:44 +02:00
Mario Rodas
3bbc6d8851
Merge pull request #258755 from marsam/postgresql-pg_hint_plan-support-more-versions
postgresqlPackages.pg_hint_plan: support more PostgreSQL versions
2023-10-06 08:14:03 -05:00
Mario Rodas
15e72c0adc postgresqlPackages.pg_hint_plan: support more PostgreSQL versions 2023-10-03 04:20:00 +00:00
Mario Rodas
cf5cea07bd postgresqlPackages.age: support more PostgreSQL versions 2023-10-03 04:20:00 +00:00
Mario Rodas
375a1a8833 postgresqlPackages.timescaledb: 2.11.2 -> 2.12.0
Diff: https://github.com/timescale/timescaledb/compare/2.11.2...2.12.0

Changelog: https://github.com/timescale/timescaledb/raw/2.12.0/CHANGELOG.md
2023-09-26 04:20:00 +00:00
Ivan Kozik
7ea6d0a719 postgresqlPackages.pg_embedding: init at 0.3.6 2023-09-24 23:41:54 +00:00
Mario Rodas
aa7811a8f5 postgresql11Packages.pg_partman: mark as broken 2023-09-22 04:20:00 +00:00
Mario Rodas
b831da50f8 postgresqlPackages.plpgsql_check: 2.5.0 -> 2.5.1
Diff: https://github.com/okbob/plpgsql_check/compare/v2.5.0...v2.5.1

Changelog: https://github.com/okbob/plpgsql_check/releases/tag/v2.5.1
2023-09-22 04:20:00 +00:00
Mario Rodas
831519f0ea postgresql16Packages.pg_partman: mark as broken on PostgreSQL<14 2023-09-22 04:20:00 +00:00
Mario Rodas
ad99a539a4 postgresql16Packages.wal2json: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
baedf9c0b8 postgresql16Packages.tsearch-extras: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
ac7d7f10a7 postgresql16Packages.rum: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
190ddae4a0 postgresql16Packages.repmgr: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
89da03b52a postgresql16Packages.plr: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
d8b0895554 postgresql16Packages.plpgsql_check: 2.5.1 -> 2.5.3
Diff: https://github.com/okbob/plpgsql_check/compare/v2.5.1...v2.5.3

Changelog: https://github.com/okbob/plpgsql_check/releases/tag/v2.5.3
2023-09-22 04:20:00 +00:00
Mario Rodas
7120d71de5 postgresql16Packages.pg_topn: 2.5.0 -> 2.6.0
Diff: https://github.com/citusdata/postgresql-topn/compare/refs/tags/v2.5.0...v2.6.0

Changelog: https://github.com/citusdata/postgresql-topn/raw/v2.6.0/CHANGELOG.md
2023-09-22 04:20:00 +00:00
Mario Rodas
2c81b4ba39 postgresql16Packages.pg_similarity: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
cb7bcf0ace postgresql16Packages.pg_safeupdate: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
f282039b9b postgresql16Packages.pg_repack: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
fb97353d27 postgresql16Packages.pg_relusage: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
3000d76eb1 postgresql16Packages.pg_rational: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
59d851384d postgresql16Packages.pg_net: 0.7.2 -> 0.7.3
Diff: https://github.com/supabase/pg_net/compare/refs/tags/v0.7.2...v0.7.3

Changelog: https://github.com/supabase/pg_net/releases/tag/v0.7.3
2023-09-22 04:20:00 +00:00
Mario Rodas
daaca70745 postgresql16Packages.pg_partman: 4.7.4 -> 5.0.0
Diff: https://github.com/pgpartman/pg_partman/compare/refs/tags/v4.7.4...v5.0.0

Changelog: https://github.com/pgpartman/pg_partman/blob/v5.0.0/CHANGELOG.md
2023-09-22 04:20:00 +00:00
Mario Rodas
47a896f3c7 postgresql16Packages.pg_hint_plan: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
6f9e07dd45 postgresql16Packages.pgtap: 1.3.0 -> 1.3.1
Diff: https://github.com/theory/pgtap/compare/v1.3.0...v1.3.1
2023-09-22 04:20:00 +00:00
Mario Rodas
e803ddcaf5 postgresql16Packages.pgsql-http: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
7b5d06339f postgresql16Packages.pgrouting: 3.5.0 -> 3.5.1
Diff: https://github.com/pgRouting/pgrouting/compare/v3.5.0...v3.5.1

Changelog: https://github.com/pgRouting/pgrouting/releases/tag/v3.5.1
2023-09-22 04:20:00 +00:00
Mario Rodas
da5f6e21c6 postgresql16Packages.pgroonga: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
5649f3bcbe postgresql16Packages.periods: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
d2ef404d4c postgresql16Packages.jsonb_deep_sum: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
9f0afbb908 postgresql16Packages.pg_hll: 2.17 -> 2.18
Diff: https://github.com/citusdata/postgresql-hll/compare/refs/tags/v2.17...refs/tags/v2.18

Changelog: https://github.com/citusdata/postgresql-hll/blob/v2.18/CHANGELOG.md
2023-09-22 04:20:00 +00:00
Mario Rodas
430ee544ad postgresql16Packages.temporal_tables: unstable-2021-02-20 -> 1.2.2
Diff: https://github.com/arkhipov/temporal_tables/compare/vunstable-2021-02-20...v1.2.2
2023-09-22 04:20:00 +00:00
Mario Rodas
c11d47d99b postgresql16Packages.pg_cron: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
87ced975e7 postgresql16Packages.tds_fdw: unstable-2021-12-14 -> unstable-2023-07-20 2023-09-22 04:20:00 +00:00
Mario Rodas
994ba38473 postgresql16Packages.pgaudit: 1.7.0 -> 16.0
Diff: https://github.com/pgaudit/pgaudit/compare/1.7.0...16.0

Changelog: https://github.com/pgaudit/pgaudit/releases/tag/16.0
2023-09-22 04:20:00 +00:00
Mario Rodas
81beb99b82 postgresql16Packages.pg_ivm: 1.6 -> 1.7
Diff: https://github.com/sraoss/pg_ivm/compare/v1.6...v1.7

Changelog: https://github.com/sraoss/pg_ivm/releases/tag/v1.7
2023-09-22 04:20:00 +00:00
Mario Rodas
6d602bbc4d postgresql16Packages.pgvector: fix build on darwin 2023-09-22 04:20:00 +00:00
Mario Rodas
f861efe860 postgresql16Packages.pg_bigm: fix build 2023-09-22 04:20:00 +00:00
Mario Rodas
cc61b5a175 postgresqlPackages.pg_bigm: use GitHub mirror 2023-09-22 04:20:00 +00:00
Mario Rodas
9bd59c622a postgresql: add dlSuffix to passthru
PostgreSQL changed the extension of its extensions in Darwin to use .dylib [1]

[1] b55f62abb2
2023-09-22 04:20:00 +00:00
Steve Purcell
ae5b96f3ab postgresql_16: init at 16.0 2023-09-16 18:19:06 +02:00
Mario Rodas
3a4c018036
Merge pull request #254474 from marsam/update-postgresql-pgjwt
postgresqlPackages.pgjwt: unstable-2021-11-13 -> unstable-2023-03-02
2023-09-16 01:20:08 -05:00
Mario Rodas
f1385ec4a9
Merge pull request #254469 from marsam/update-pg_ivm
postgresqlPackages.pg_ivm: 1.5.1 -> 1.6
2023-09-12 18:07:26 -05:00
Mario Rodas
41edd75974 postgresqlPackages.plpgsql_check: 2.4.0 -> 2.5.0
Diff: https://github.com/okbob/plpgsql_check/compare/v2.4.0...v2.5.0

Changelog: https://github.com/okbob/plpgsql_check/releases/tag/v2.5.0
2023-09-12 04:20:00 +00:00
Mario Rodas
23e69f92c8
Merge pull request #254324 from marsam/update-postgis
postgresqlPackages.postgis: 3.3.3 -> 3.4.0
2023-09-12 00:15:32 -05:00
Nick Cao
140ab25ce9
Merge pull request #254471 from marsam/update-pg_partman
postgresqlPackages.pg_partman: 4.7.3 -> 4.7.4
2023-09-11 10:29:24 -04:00
Nick Cao
8a2da9488c
Merge pull request #254473 from marsam/update-postgresql-periods
postgresqlPackages.periods: 1.2.1 -> 1.2.2
2023-09-11 09:24:40 -04:00
Mario Rodas
01d15288e5 postgresqlPackages.pgjwt: unstable-2021-11-13 -> unstable-2023-03-02 2023-09-10 04:20:00 +00:00
Mario Rodas
58f1cd9922 postgresqlPackages.pg_ivm: 1.5.1 -> 1.6
Diff: https://github.com/sraoss/pg_ivm/compare/v1.5.1...v1.6
2023-09-10 04:20:00 +00:00
Mario Rodas
70cd815865 postgresqlPackages.pg_partman: 4.7.3 -> 4.7.4
Diff: https://github.com/pgpartman/pg_partman/compare/refs/tags/v4.7.3...v4.7.4

Changelog: https://github.com/pgpartman/pg_partman/raw/v4.7.4/CHANGELOG.txt
2023-09-10 04:20:00 +00:00
Mario Rodas
172dd925f5 postgresqlPackages.periods: 1.2.1 -> 1.2.2
Diff: https://github.com/xocolatl/periods/compare/v1.2.1...v1.2.2
2023-09-10 04:20:00 +00:00
R. Ryantm
6d956e4410 postgresql11JitPackages.pgtap: 1.2.0 -> 1.3.0 2023-09-09 20:34:47 +00:00
Mario Rodas
dfde9c83bc postgresqlPackages.postgis: 3.3.3 -> 3.4.0
Changelog: https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.4.0/NEWS
2023-09-08 04:20:00 +00:00
Mario Rodas
5e680aac1d postgresqlPackages.pgsql-http: init at 1.6.0 2023-09-08 04:20:00 +00:00
R. Ryantm
d64894710d postgresql11JitPackages.pg_cron: 1.5.2 -> 1.6.0 2023-09-01 02:12:46 +00:00
netali
53bbb203e0 postgresql12Packages.repmgr: fix build
Closes: #248935
2023-08-30 07:02:11 -05:00
Mario Rodas
cc57329742 postgresqlPackages.pgvector: 0.4.4 -> 0.5.0
Diff: https://github.com/pgvector/pgvector/compare/v0.4.4...v0.5.0

Changelog: https://github.com/pgvector/pgvector/raw/v0.5.0/CHANGELOG.md
2023-08-29 04:20:00 +00:00
Mario Rodas
ce3b2a7683 postgresqlPackages.plpgsql_check: 2.3.4 -> 2.4.0
Diff: https://github.com/okbob/plpgsql_check/compare/v2.3.4...v2.4.0

Changelog: https://github.com/okbob/plpgsql_check/releases/tag/v2.4.0
2023-08-21 04:20:00 +00:00
github-actions[bot]
d3b2560b73
Merge master into staging-next 2023-08-19 12:01:03 +00:00
Mario Rodas
f7f5506f82
Merge pull request #249757 from 1000101/tsdb
postgresqlPackages.timescaledb: 2.11.1 -> 2.11.2
2023-08-19 01:09:29 -05:00
github-actions[bot]
4a9909e0db
Merge master into staging-next 2023-08-19 00:01:42 +00:00
Sean D Gillespie
acc01be813 postgresql: fix musl patches 2023-08-18 13:16:14 -05:00
1000101
109f094127 postgresqlPackages.timescaledb: 2.11.1 -> 2.11.2 2023-08-17 17:24:06 +02:00
Jan Tojnar
86f6b16d28 Merge branch 'master' into staging-next
Conflicts:
- pkgs/servers/mail/mailman/python.nix (relevant to mailman-web)
  between f8a17e4200 and 84f6a6755a
2023-08-15 21:39:20 +02:00
R. Ryantm
624607b3a5 postgresql11JitPackages.plr: 8.4.5 -> 8.4.6 2023-08-15 05:08:12 +00:00
github-actions[bot]
b782e1dc08
Merge master into staging-next 2023-08-14 06:00:58 +00:00
Austin Seipp
a262231cca postgresqlPackages.pg_net: init at 0.7.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-08-13 20:27:43 -05:00
github-actions[bot]
cc6e13abfb
Merge master into staging-next 2023-08-11 12:01:01 +00:00
Jan Malakhovski
591ccfe5b9 treewide: noop: refer to src.name or similar where appropriate, part 3: more use cases
This continues where d8f7f6a5ce left off. Similarly
to that commit, this commit this also points `sourceRoot`s to `src.name` and similar
instead of keeping hardcoded names, and edits other derivation attrs do do the same,
where appropriate.

Also, similarly to d8f7f6a5ce some of expressions this
edits use `srcs` attribute with customly-named sources, so they have to be moved
into `let` blocks to keep evaluation efficient (the other, worse, way to do this
would to recurcively refer to `elemAt n finalAttrs.srcs` or, similarly, with `rec`).
2023-08-11 09:20:44 +00:00
ajs124
061c96b486 postgresql_15: 15.3 -> 15.4
https://www.postgresql.org/docs/release/15.4/
2023-08-10 23:19:35 -05:00
ajs124
8f5976b479 postgresql_14: 14.8 -> 14.9
https://www.postgresql.org/docs/release/14.9/
2023-08-10 23:19:35 -05:00
ajs124
f256648786 postgresql_13: 13.11 -> 13.12
https://www.postgresql.org/docs/release/13.12/
2023-08-10 23:19:35 -05:00
ajs124
363048444b postgresql_12: 12.15 -> 12.16
https://www.postgresql.org/docs/release/12.16/
2023-08-10 23:19:35 -05:00
ajs124
b606993d67 postgresql_11: 11.20 -> 11.21
https://www.postgresql.org/docs/release/11.21/
2023-08-10 23:19:35 -05:00
Sigrid Solveig Haflínudóttir
0271120180 postgresqlPackages.postgis: enable address_standardizer, fix docs installation 2023-08-03 14:30:48 -05:00
Austin Seipp
26f7e30132 postgresqlPackages.plv8: build on aarch64-linux
This might have been broken in days of yore, but it seems to work fine
now (reasonably so, since we use the system version of v8.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2023-08-02 00:52:27 -05:00
R. RyanTM
b63179691f
postgresql15Packages.repmgr: 5.4.0 -> 5.4.1 (#242894) 2023-07-12 10:30:23 +02:00
Mario Rodas
58ccd88dbd postgresqlPackages.timescaledb: 2.11.0 -> 2.11.1
Diff: https://github.com/timescale/timescaledb/compare/2.11.0...2.11.1

Changelog: https://github.com/timescale/timescaledb/raw/2.11.1/CHANGELOG.md
2023-06-29 04:20:00 +00:00
Nick Cao
c74fd7d1f8
postgresqlPackages.pgroonga: 3.0.7 -> 3.0.8, use msgpack-c
Diff: https://github.com/pgroonga/pgroonga/compare/3.0.7...3.0.8
Changelog: https://github.com/pgroonga/pgroonga/releases/tag/3.0.8
2023-06-26 22:31:59 +08:00
R. Ryantm
c890237f94 postgresql11JitPackages.pgroonga: 3.0.6 -> 3.0.7 2023-06-24 15:00:47 +00:00
Mario Rodas
d246683fe9 postgresqlPackages.postgis: 3.3.2 -> 3.3.3
Changelog: https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.3.3/NEWS
2023-06-17 04:20:00 +00:00
github-actions[bot]
942de50966
Merge master into staging-next 2023-06-14 06:01:12 +00:00
github-actions[bot]
f29c608f98
Merge master into staging-next 2023-06-13 18:01:32 +00:00
Mario Rodas
823132b180 postgresqlPackages.pgvector: 0.4.3 -> 0.4.4
Diff: https://github.com/pgvector/pgvector/compare/v0.4.3...v0.4.4

Changelog: https://github.com/pgvector/pgvector/raw/v0.4.4/CHANGELOG.md
2023-06-13 04:20:00 +00:00
R. Ryantm
1ef5dad4a3 postgresql11JitPackages.pgroonga: 3.0.5 -> 3.0.6 2023-06-13 03:32:31 +00:00
github-actions[bot]
112762351d
Merge master into staging-next 2023-06-12 00:02:19 +00:00
Mario Rodas
4cbde33abe postgresqlPackages.pgvector: 0.4.2 -> 0.4.3
Diff: https://github.com/pgvector/pgvector/compare/v0.4.2...v0.4.3

Changelog: https://github.com/pgvector/pgvector/raw/v0.4.3/CHANGELOG.md
2023-06-11 04:20:00 +00:00
Maximilian Bosch
c92f3af69d
Merge pull request #228349 from yu-re-ka/musl-postgresql
pkgsMusl.postgresql: fix build
2023-06-07 18:30:16 +02:00
Marko Mušnjak
aafe0f4314
apache_datasketches: init at 1.6.0
PostgreSQL extension providing approximate algorithms for
distinct item counts, quantile estimation and frequent items detection.
2023-06-02 21:03:19 +02:00
Mario Rodas
0faad578fe postgresqlPackages.pgroonga: add changelog to meta 2023-05-31 04:20:00 +00:00
Mario Rodas
dd099cedf1 postgresqlPackages.pgroonga: 3.0.3 -> 3.0.5
https://github.com/pgroonga/pgroonga/releases/tag/3.0.5
2023-05-31 04:20:00 +00:00
R. Ryantm
a873541b2f postgresql11JitPackages.pgroonga: 3.0.1 -> 3.0.3 2023-05-30 17:14:23 +00:00
Yureka
8d4a81b185 pkgsMusl.postgresql: fix build 2023-05-28 19:51:06 +02:00
happysalada
938e5e2fbe timescaledb_toolkit: mark broken on darwin 2023-05-26 06:07:33 -04:00
Mario Rodas
fe3a69ab0c postgresqlPackages.timescaledb: 2.10.3 -> 2.11.0
Diff: https://github.com/timescale/timescaledb/compare/2.10.3...2.11.0

Changelog: https://github.com/timescale/timescaledb/raw/2.11.0/CHANGELOG.md
2023-05-22 04:20:00 +00:00
jz8132543
ac0e09e17a
postgresql15Packages.repmgr: 5.3.2 -> 5.4.0 2023-05-20 12:08:48 +08:00
github-actions[bot]
d7c25ce768
Merge staging-next into staging 2023-05-14 12:02:08 +00:00
github-actions[bot]
faf50dfee3
Merge staging-next into staging 2023-05-14 06:01:43 +00:00
Mario Rodas
b50b006b04 postgresqlPackages.pgvector: 0.4.1 -> 0.4.2
Diff: https://github.com/pgvector/pgvector/compare/v0.4.1...v0.4.2

Changelog: https://github.com/pgvector/pgvector/raw/v0.4.2/CHANGELOG.md
2023-05-13 04:20:00 +00:00
Mario Rodas
bf960aa6bc postgresql11Packages.pg_auto_failover: fix build on Linux
ZHF: #230712
2023-05-13 04:20:00 +00:00
github-actions[bot]
a0ba80a626
Merge staging-next into staging 2023-05-12 18:01:54 +00:00
Alyssa Ross
5e06b3cb19 treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
2023-05-12 15:31:21 +00:00
Mario Rodas
1bf361e6a0
Merge pull request #231306 from helsinki-systems/upd/postgresql
postgresql: 15.3, 14.8, 13.11, 12.15 and 11.20
2023-05-12 07:48:37 -05:00
ajs124
3abafec08f postgresql_15: 15.2 -> 15.3
https://www.postgresql.org/docs/release/15.3/
2023-05-12 13:40:01 +02:00
ajs124
08b8054366 postgresql_14: 14.7 -> 14.8
https://www.postgresql.org/docs/release/14.8/
2023-05-12 13:40:01 +02:00
ajs124
370e6c896d postgresql_13: 13.10 -> 13.11
https://www.postgresql.org/docs/release/13.11/
2023-05-12 13:40:01 +02:00
ajs124
b201c295c7 postgresql_12: 12.14 -> 12.15
https://www.postgresql.org/docs/release/12.15/
2023-05-12 13:40:01 +02:00
ajs124
c56299151c postgresql_11: 11.19 -> 11.20
https://www.postgresql.org/docs/release/11.20/
2023-05-12 13:40:01 +02:00
Yt
d702c38590
postgresqlPackages.timescaledb_toolkit 1.14.0 -> 1.16.0 (#231265) 2023-05-12 06:54:09 -04:00
Mario Rodas
bf12df5e19
Merge pull request #229032 from r-ryantm/auto-update/postgresql11JitPackages.pgroonga
postgresql11JitPackages.pgroonga: 2.4.2 -> 3.0.0
2023-04-30 06:34:11 -05:00
Ivan Kozik
5207dff2d8 postgresqlPackages.pgroonga: remove myself from maintainers 2023-04-30 02:41:23 +00:00
Mario Rodas
cfbd436e24 postgresqlPackages.pgroonga: 3.0.0 -> 3.0.1
https://github.com/pgroonga/pgroonga/releases/tag/3.0.1
2023-04-30 01:42:00 +00:00
R. Ryantm
40add03d25 postgresql11JitPackages.pgroonga: 2.4.2 -> 3.0.0 2023-04-30 01:41:23 +00:00
R. Ryantm
cf55738d99 postgresql11JitPackages.pg_cron: 1.5.1 -> 1.5.2 2023-04-29 08:10:56 +00:00
1000101
938afbb96e postgresqlPackages.timescaledb: 2.10.2 -> 2.10.3 2023-04-27 13:21:30 -04:00
Mario Rodas
5249a7ce55
Merge pull request #220812 from anpin/feature/promscale-rebase
promscale: 0.10.0 -> 0.17.0
2023-04-24 21:02:25 -05:00
Eric Wolf
815fed2e05 cargo-pgx: 0.6.1 -> 0.7.4, keep 0.6.1, add 0.7.1
0.6.1 keeping until timescaledb_toolkit got upgraded to 1.15.0
0.7.1 because timescaledb_toolkit 1.15.0 needs it
0.7.4 because it is the most recent cargo-pgx version
2023-04-23 15:23:38 -04:00
Pavel Anpin
0e191c7ec1
promscale_extension: fixed cargoPatch
somehow the patch made earlier stoped working, so the build was failing
due to git dependency in cargo.lock. Fixed that in the upstream PR and
repointed fetchpatch to the new commit
2023-04-23 13:17:14 +04:00
Pavel Anpin
3efea7f0ea
postgresqlPackages.promscale_extension: init at 0.8.0 2023-04-22 21:29:49 +04:00
Mario Rodas
2c69fe1567 postgresqlPackages.plpgsql_check: 2.3.3 -> 2.3.4
https://github.com/okbob/plpgsql_check/releases/tag/v2.3.4
2023-04-20 04:20:00 +00:00
1000101
ae5640c0aa postgresqlPackages.timescaledb: 2.10.1 -> 2.10.2 2023-04-21 00:01:16 +02:00
Mario Rodas
86f8f8caf5 postgresqlPackages.pg_partman: add changelog to meta 2023-04-16 23:02:00 +00:00
R. Ryantm
3a03211580 postgresql11JitPackages.pg_partman: 4.7.1 -> 4.7.3 2023-04-16 23:01:00 +00:00
Mario Rodas
3bb23bd81a postgresqlPackages.plv8: 3.1.4 -> 3.1.5 2023-04-05 04:20:00 +00:00
Mario Rodas
c937feb1a1
Merge pull request #219826 from noctarius/master
Fixed TimescaleDB License Information
2023-04-01 09:19:04 -05:00
Mario Rodas
079209be0e postgresqlPackages.pgrouting: 3.4.2 -> 3.5.0
https://github.com/pgRouting/pgrouting/releases/tag/v3.5.0
2023-03-31 04:20:00 +00:00
Maximilian Bosch
9f2b4357c1
postgresql: save rebuilds of existing packages
...by using `+ lib.optionalString ...` rather than a substitution. That
way the phases don't have additional trailing white-spaces in the
non-JIT case which cause rebuilds.
2023-03-29 08:39:47 +02:00
Maximilian Bosch
a5a715bb24
postgresql_jit: fix darwin build
So, patchelf works on ELF files and these don't exist on Darwin. I'm not
aware of any other way to eliminate all references of the executable's
body while preserving library paths in the header. This still works, the
only problem is that darwin has a dependency on llvm.dev, so it's
runtime closure is larger.
2023-03-29 08:39:47 +02:00
Maximilian Bosch
43dbeae02d
postgresql: pass through JIT-enabled variant of non-JIT postgres and vice versa
This is useful if your postgresql version is dependant on
`system.stateVersion` and not pinned down manually. Then it's not
necessary to find out which version exactly is in use and define
`package` manually, but just stay with what NixOS provides as default:

    $ nix-instantiate -A postgresql
    /nix/store/82fzmb77mz2b787dgj7mn4a8i4f6l6sn-postgresql-14.7.drv
    $ nix-instantiate -A postgresql_jit
    /nix/store/qsjkb72fcrrfpsszrwbsi9q9wgp39m50-postgresql-14.7.drv
    $ nix-instantiate -A postgresql.withJIT
    /nix/store/qsjkb72fcrrfpsszrwbsi9q9wgp39m50-postgresql-14.7.drv
    $ nix-instantiate -A postgresql.withJIT.withoutJIT
    /nix/store/82fzmb77mz2b787dgj7mn4a8i4f6l6sn-postgresql-14.7.drv

I.e. you can use postgresql with JIT (for complex queries only[1]) like
this:

    services.postgresql = {
      enable = true;
      enableJIT = true;
    };

Performing a new override instead of re-using the `_jit`-variants for
that has the nice property that overlays for the original package apply
to the JIT-enabled variant, i.e.

    with import ./. {
      overlays = [
        (self: super: {
          postgresql = super.postgresql.overrideAttrs (_: { fnord = "snens"; });
        })
      ];
    };
    postgresql.withJIT.fnord

still gives the string `snens` whereas `postgresql_jit` doesn't have the
attribute `fnord` in its derivation.

[1] https://www.postgresql.org/docs/current/runtime-config-query.html#GUC-JIT-ABOVE-COST
2023-03-29 08:39:46 +02:00
Maximilian Bosch
2282fa73a1
postgresql: implement opt-in JIT support
Closes #150801

Note: I decided against resuming directly on #150801 because the
conflict was too big (and resolving it seemed too error-prone to me).
Also the `this`-refactoring could be done in an easier manner, i.e. by
exposing JIT attributes with the correct configuration. More on that
below.

This patch creates variants of the `postgresql*`-packages with JIT[1]
support. Please note that a lot of the work was derived from previous
patches filed by other contributors, namely dasJ, andir and abbradar,
hence the co-authored-by tags below.

Effectively, the following things have changed:

* For JIT variants an LLVM-backed stdenv with clang is now used as
  suggested by dasJ[2]. We need LLVM and CLang[3] anyways to build the
  JIT-part, so no need to mix this up with GCC's stdenv. Also, using the
  `dev`-output of LLVM and clang's stdenv for building (and adding llvm
  libs as build-inputs) seems more cross friendly to me (which will
  become useful when cross-building for JIT-variants will actually be
  supported).

* Plugins inherit the build flags from the Makefiles in
  `$out/lib/pgxs/src` (e.g. `-Werror=unguarded-availability-new`). Since
  some of the flags are clang-specific (and stem from the use of the
  CLang stdenv) and don't work on gcc, the stdenv of `pkgs.postgresql`
  is passed to the plugins. I.e., plugins for non-JIT variants are built
  with a gcc stdenv on Linux and plugins for JIT variants with a clang
  stdenv.

  Since `plv8` hard-codes `gcc` as `$CC` in its Makefile[4], I marked it
  as broken for JIT-variants of postgresql only.

* Added a test-matrix to confirm that JIT works fine on each
  `pkgs.postgresql_*_jit` (thanks Andi for the original test in
  #124804!).

* For each postgresql version, a new attribute
  `postgresql_<version>_jit` (and a corresponding
  `postgresqlPackages<version>JitPackages`) are now exposed for better
  discoverability and prebuilt artifacts in the binary cache.

* In #150801 the `this`-argument was replaced by an internal recursion.
  I decided against this approach because it'd blow up the diff even
  more which makes the readability way harder and also harder to revert
  this if necessary.

  Instead, it is made sure that `this` always points to the correct
  variant of `postgresql` and re-using that in an additional
  `.override {}`-expression is trivial because the JIT-variant is
  exposed in `all-packages.nix`.

* I think the changes are sufficiently big to actually add myself as
  maintainer here.

* Added `libxcrypt` to `buildInputs` for versions <v13. While
  building things with an LLVM stdenv, these versions complained that
  the extern `crypt()` symbol can't be found. Not sure what this is
  exactly about, but since we want to switch to libxcrypt for `crypt()`
  usage anyways[5] I decided to add it. For >=13 it's not relevant
  anymore anyways[6].

* JIT support doesn't work with cross-compilation. It is attempted to
  build LLVM-bytecode (`%.bc` is the corresponding `make(1)`-rule) for
  each sub-directory in `backend/` for the JIT apparently, but with a
  $(CLANG) that can produce binaries for the build, not the host-platform.

  I managed to get a cross-build with JIT support working with
  `depsBuildBuild = [ llvmPackages.clang ] ++ buildInputs`, but
  considering that the resulting LLVM IR isn't platform-independent this
  doesn't give you much. In fact, I tried to test the result in a VM-test,
  but as soon as JIT was used to optimize a query, postgres would
  coredump with `Illegal instruction`.

A common concern of the original approach - with llvm as build input -
was the massive increase of closure size. With the new approach of using
the LLVM stdenv directly and patching out references to the clang drv in
`$out` the effective closure size changes are:

    $ nix path-info -Sh $(nix-build -A postgresql_14)
    /nix/store/kssxxqycwa3c7kmwmykwxqvspxxa6r1w-postgresql-14.7	306.4M
    $ nix path-info -Sh $(nix-build -A postgresql_14_jit)
    /nix/store/xc7qmgqrn4h5yr4vmdwy56gs4bmja9ym-postgresql-14.7	689.2M

Most of the increase in closure-size stems from the `lib`-output of
LLVM

    $ nix path-info -Sh /nix/store/5r97sbs5j6mw7qnbg8nhnq1gad9973ap-llvm-11.1.0-lib
    /nix/store/5r97sbs5j6mw7qnbg8nhnq1gad9973ap-llvm-11.1.0-lib	349.8M

which is why this shouldn't be enabled by default.

While this is quite much because of LLVM, it's still a massive
improvement over the simple approach of adding llvm/clang as
build-inputs and building with `--with-llvm`:

    $ nix path-info -Sh $(nix-build -E '
	with import ./. {};
	postgresql.overrideAttrs ({ configureFlags ? [], buildInputs ? [], ... }: {
	  configureFlags = configureFlags ++ [ "--with-llvm" ];
	  buildInputs = buildInputs ++ [ llvm clang ];
	})' -j0)
    /nix/store/i3bd2r21c6c3428xb4gavjnplfqxn27p-postgresql-14.7	  1.6G

Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
Co-authored-by: Janne Heß <janne@hess.ooo>
Co-authored-by: Nikolay Amiantov <ab@fmap.me>

[1] https://www.postgresql.org/docs/current/jit-reason.html
[2] https://github.com/NixOS/nixpkgs/pull/124804#issuecomment-864616931
    & https://github.com/NixOS/nixpkgs/pull/150801#issuecomment-1467868321
[3] This fails with the following error otherwise:
    ```
    configure: error: clang not found, but required when compiling --with-llvm, specify with CLANG=
    ```
[4] https://github.com/plv8/plv8/blob/v3.1.5/Makefile#L14
[5] https://github.com/NixOS/nixpkgs/pull/181764
[6] c45643d618
2023-03-29 08:39:46 +02:00
Christoph Engelbert (noctarius)
4f7f469c82
timescaledb: Fixed the licensing for the timescaledb package to be split into TSL (Timescale Community License) and Apache 2.0 components.
TimescaleDB provides two types of licenses, Apache 2.0 and Timescale Community License (TSL), with different feature sets. While all the code is in the same repository, the build
system can build both versions depending on the build parameters set in.

Co-authored-by: Emily Lange <git@indeednotjames.com>
2023-03-24 11:12:12 +01:00
Mario Rodas
9a2e14a323
Merge pull request #222453 from marsam/update-pgvector
postgresqlPackages.pgvector: 0.4.0 -> 0.4.1
2023-03-22 02:39:59 -05:00
Sandro
ffe1c9dc0f
postgresqlPackages.pg_repack: use clickable homepage 2023-03-22 00:03:59 +01:00
Mario Rodas
8a449b274a postgresqlPackages.pgvector: 0.4.0 -> 0.4.1 2023-03-21 04:20:00 +00:00
Mario Rodas
81c6568482 postgresqlPackages.plpgsql_check: 2.3.0 -> 2.3.3
https://github.com/okbob/plpgsql_check/releases/tag/v2.3.3
2023-03-14 04:20:00 +00:00
Mario Rodas
dae678ad8f
Merge pull request #186276 from typetetris/feature/add-timescaledb-toolkit
timescaledb_toolkit: init at 1.14.0
2023-03-11 06:50:54 -05:00
Mario Rodas
7e29e1b2c2 postgresqlPackages.timescaledb: 2.10.0 -> 2.10.1 2023-03-07 04:20:00 +00:00
Mario Rodas
70fd8b9fb8
Merge pull request #219423 from marsam/update-pg_ivm
postgresqlPackages.pg_ivm: 1.5 -> 1.5.1
2023-03-05 07:32:06 -05:00
Mario Rodas
12d836730a postgresqlPackages.pg_ivm: 1.5 -> 1.5.1
https://github.com/sraoss/pg_ivm/releases/tag/v1.5.1
2023-03-03 04:20:00 +00:00
1000101
c3aaa8fb5e
postgresqlPackages.timescaledb: 2.9.3 -> 2.10.0 (#217529) 2023-02-24 06:57:13 -05:00