Commit graph

610 commits

Author SHA1 Message Date
Daniël de Kok 58b66c0dcb postgresqlPackages.age: fix build
The build broke by a recent bison update. Use bison_3_5.
2020-09-10 08:54:17 -07:00
Mario Rodas 234c6e8a89 postgresqlPackages.timescaledb: 1.7.3 -> 1.7.4 2020-09-08 08:40:00 -05:00
Daniël de Kok 09d1aa9622
Merge pull request #96025 from danieldk/age-0.2.0
postgresqlPackages.age: init at 0.2.0
2020-09-01 08:53:40 +02:00
Mario Rodas 8f9cbeeae7
postgresqlPackages.timescaledb: 1.7.2 -> 1.7.3
https://github.com/timescale/timescaledb/releases/tag/1.7.3
2020-08-27 18:35:47 -05:00
R. RyanTM 8c86aafbfe postgresql11Packages.pgrouting: 3.0.2 -> 3.1.0 2020-08-27 05:03:35 +00:00
Jan Tojnar 91104b5417
Merge branch 'master' into staging-next 2020-08-23 02:00:50 +02:00
Daniël de Kok 58ba6ca2fe postgresqlPackages.age: init at 0.2.0
Apache AGE is an extension of PostgreSQL that provides an
implementation of the openCypher query language.
2020-08-22 20:16:30 +02:00
Frederik Rietdijk 0ac85bc455 Merge master into staging-next 2020-08-17 14:54:39 +02:00
Mario Rodas 2021a4b870
postgresqlPackages.plpgsql_check: init at 1.13.1 2020-08-17 04:20:00 -05:00
Mario Rodas 725c154369
Merge pull request #95548 from marsam/update-postgresqlPackages.plv8
postgresqlPackages.plv8: 2.3.14 -> 2.3.15
2020-08-16 20:12:23 -05:00
Mario Rodas 8404fd0aff
postgresqlPackages.postgis: 3.0.1 -> 3.0.2 2020-08-15 16:20:00 -05:00
Mario Rodas fd741310af
postgresql_12: 12.3 -> 12.4
Release notes: https://www.postgresql.org/docs/12/release-12-4.html
2020-08-13 20:04:00 -05:00
Mario Rodas d242f33afb
postgresql_11: 11.8 -> 11.9
Release notes: https://www.postgresql.org/docs/11/release-11-9.html
2020-08-13 20:03:00 -05:00
Mario Rodas fce82f49f1
postgresql_10: 10.13 -> 10.14
Release notes: https://www.postgresql.org/docs/10/release-10-14.html
2020-08-13 20:02:00 -05:00
Mario Rodas e9ed812c07
postgresql_9_6: 9.6.18 -> 9.6.19
Release notes: https://www.postgresql.org/docs/9.6/release-9-6-19.html
2020-08-13 20:01:00 -05:00
Mario Rodas 6cdd374d50
postgresql_9_5: 9.5.22 -> 9.5.23
Release notes: https://www.postgresql.org/docs/9.5/release-9-5-23.html
2020-08-13 20:00:00 -05:00
Mario Rodas e54722a041
Merge pull request #94832 from r-ryantm/auto-update/pgrouting
postgresql11Packages.pgrouting: 3.0.1 -> 3.0.2
2020-08-06 22:04:36 -05:00
R. RyanTM 846baaa1cd postgresql11Packages.pgrouting: 3.0.1 -> 3.0.2 2020-08-07 01:28:10 +00:00
Mario Rodas 504ec2573e
postgresqlPackages.smlar: init at 2020-04-08 2020-07-28 00:00:00 -05:00
Mario Rodas ff9b35f4bc
postgresqlPackages.plv8: 2.3.14 -> 2.3.15 2020-07-15 00:00:00 +00:00
Ryan Mulligan fb3fd9762f
Merge pull request #92826 from r-ryantm/auto-update/pgrouting
postgresql11Packages.pgrouting: 3.0.0 -> 3.0.1
2020-07-10 11:48:36 -07:00
R. RyanTM 1441467015 postgresql11Packages.pgrouting: 3.0.0 -> 3.0.1 2020-07-10 05:59:20 +00:00
Mario Rodas 86f70c06d8
Merge pull request #92731 from r-ryantm/auto-update/timescaledb
postgresql11Packages.timescaledb: 1.7.1 -> 1.7.2
2020-07-08 18:50:05 -05:00
R. RyanTM 70d5bfb126 postgresql11Packages.timescaledb: 1.7.1 -> 1.7.2 2020-07-08 17:12:26 +00:00
Mario Rodas d2afe945d8
Merge pull request #92394 from r-ryantm/auto-update/pgroonga
postgresql11Packages.pgroonga: 2.2.5 -> 2.2.6
2020-07-06 07:56:04 -05:00
R. RyanTM a659d69a82 postgresql11Packages.pgroonga: 2.2.5 -> 2.2.6 2020-07-06 03:03:39 +00:00
OmnipotentEntity 14ee9eba43
postgresqlPackages.repmgr 5.0.0 -> 5.1.0 (#92362) 2020-07-05 20:25:24 +00:00
Renzo Carbonara b4e428ecd0 pg_ed25519: init at 0.2
PostgreSQL extension for signing and verifying ed25519 signatures.
2020-06-16 10:17:42 -05:00
Frederik Rietdijk b76c308ecd Merge staging-next into staging 2020-06-04 15:28:16 +02:00
Mario Rodas 818fa358c8
Merge pull request #87954 from marsam/update-postgresql
postgresql: 9.5.21 -> 9.5.22, 9.6.17 -> 9.6.18, 10.12 -> 10.13, 11.7 -> 11.8, 12.2 -> 12.3
2020-06-03 20:39:09 -05:00
Daiderd Jordan b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
Mario Rodas c167ec8159
Merge pull request #88654 from r-ryantm/auto-update/pgrouting
postgresql11Packages.pgrouting: 2.6.3 -> 3.0.0
2020-05-23 08:51:41 -05:00
Mario Rodas 6fcae88f9a
postgresqlPackages.pgrouting: remove unneeded dependencies
These dependencies were removed in https://github.com/pgRouting/pgrouting/pull/1188
2020-05-23 04:20:00 -05:00
R. RyanTM 3623ea3ff6 postgresql11Packages.pg_partman: 4.3.1 -> 4.4.0 2020-05-23 05:33:24 +00:00
R. RyanTM 6aefe6c171 postgresql11Packages.pgrouting: 2.6.3 -> 3.0.0 2020-05-23 05:03:07 +00:00
Mario Rodas 3859ef98f7 postgresqlPackages.timescaledb: 1.7.0 -> 1.7.1
Changelog: https://github.com/timescale/timescaledb/releases/tag/1.7.1
2020-05-18 18:06:40 -07:00
Mario Rodas 490cce07a5
postgresql_12: 12.2 -> 12.3
Release notes: https://www.postgresql.org/docs/current/release-12-3.html
2020-05-15 04:24:00 -05:00
Mario Rodas 070c330f9b
postgresql_11: 11.7 -> 11.8
Release notes: https://www.postgresql.org/docs/11/release-11-8.html
2020-05-15 04:23:00 -05:00
Mario Rodas 35d2d4d223
postgresql_10: 10.12 -> 10.13
Release notes: https://www.postgresql.org/docs/10/release-10-13.html
2020-05-15 04:22:00 -05:00
Mario Rodas 6851378614
postgresql_9_6: 9.6.17 -> 9.6.18
Release notes: https://www.postgresql.org/docs/9.6/release-9-6-18.html
2020-05-15 04:21:00 -05:00
Mario Rodas 3ea0c17200
postgresql_9_5: 9.5.21 -> 9.5.22
Release notes: https://www.postgresql.org/docs/9.5/release-9-5-22.html
2020-05-15 04:20:00 -05:00
Mario Rodas 897c450cc5
Merge pull request #87092 from r-ryantm/auto-update/pg_partman
postgresql11Packages.pg_partman: 4.3.0 -> 4.3.1
2020-05-07 06:46:46 -05:00
R. RyanTM 75503db6f3 postgresql11Packages.pg_partman: 4.3.0 -> 4.3.1 2020-05-06 12:54:01 +00:00
Mario Rodas 53dd3921cd
postgresqlPackages.pg_auto_failover: 1.2 -> 1.3
Changelog: https://github.com/citusdata/pg_auto_failover/releases/tag/v1.3
2020-05-05 04:20:00 -05:00
Orivej Desh 7c4282bf43 postgresql: remove version from passthru
It is already available in the regular attrs.

`passthru.version` prevents `overrideAttrs (attrs: { version = "x"; })` from
taking effect.
2020-04-23 15:20:35 +00:00
Mario Rodas 35eac7e51e
postgresqlPackages.timescaledb: 1.6.1 -> 1.7.0
Changelog: https://github.com/timescale/timescaledb/releases/tag/1.7.0
2020-04-16 04:20:00 -05:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Mario Rodas 38bd987bbf
Merge pull request #82912 from marsam/update-postgresqlPackages.pg_auto_failover
postgresqlPackages.pg_auto_failover: 1.0.6 -> 1.2
2020-03-19 19:00:26 -05:00
Mario Rodas bb1e2b83c0
postgresqlPackages.timescaledb: 1.6.0 -> 1.6.1
Changelog: https://github.com/timescale/timescaledb/releases/tag/1.6.1
2020-03-18 21:21:21 -05:00
Mario Rodas 44f3de77d9
postgresqlPackages.pg_auto_failover: 1.0.6 -> 1.2 2020-03-18 04:20:00 -05:00
zimbatm 3951e718b8
postgresqlPackages.repmgr: 4.4.0 -> 5.0.0 2020-03-15 22:07:10 +01:00
Mario Rodas f6914a589e
postgresqlPackages.pgroonga: 2.2.2 -> 2.2.5 2020-03-12 04:20:00 -05:00
Frederik Rietdijk ef156f7a8b Merge staging-next into staging 2020-02-27 10:15:34 +01:00
Mario Rodas 53a5d6918a
postgresqlPackages.postgis: 3.0.0 -> 3.0.1
Release notes: https://postgis.net/2020/02/20/postgis-3.0.1/
2020-02-24 04:20:00 -05:00
worldofpeace 504f8bffaa Merge branch 'staging-next' into staging 2020-02-19 21:27:20 -05:00
Lancelot SIX 24013ab951
Merge pull request #80485 from marsam/update-postgresqlPackages.pg_auto_failover
postgresqlPackages.pg_auto_failover: 1.0.5 -> 1.0.6
2020-02-19 19:50:38 +01:00
zowoq 711617f5e3
Revert "postgresql: build < 9.5 with openssl 1.0.2" (#80481)
This reverts commit 2d6f0cb176.

postgresql versions < 9.5 have been removed from nixpkgs.
2020-02-19 08:59:49 +02:00
Mario Rodas e86619f273
postgresqlPackages.pg_auto_failover: 1.0.5 -> 1.0.6 2020-02-18 04:20:00 -05:00
Danylo Hlynskyi 329102c47b
Merge #80328: postgresql: minor updates (security)
Forward-picked from merge 036c524a2e in staging to master,
as upstream claims it fixes CVE-2020-1720.
https://www.postgresql.org/about/news/2011/
2020-02-18 10:48:39 +01:00
Mario Rodas 2bbe49f4c2
postgresqlPackages.cstore_fdw: 1.6.2 -> 1.7.0 2020-02-18 04:20:00 -05:00
Danylo Hlynskyi 5443eee47c
nixos/postgresql: support 0750 for data directory (#65245)
* nixos/postgresql: support 0750 for data directory

This is rework of part of https://github.com/NixOS/nixpkgs/pull/46670.
My usecase was to be able to inspect PG datadir as wheel user.

PG11 now allows starting server with 0750 mask for data dir.
`groupAccess = true` now does this automatically. The only thing you have to do
is to set group ownership.

For PG10 and below, I've described a hack how this can be done. Before this PR
hack was impossible. The hack isn't ideal, because there is short
period of time when dir mode is 0700, so I didn't want to make it official.

Test/example is present too.

* postgresql: allow changing initidb arguments via module system

Closes https://github.com/NixOS/nixpkgs/issues/18829

+ some cleanups

* addressed review comments and some fixes

* whoops

* change groupAccess to tristate, to not force `chmod` on dataDir.

Making mask either 0700 or 0750 is too restrictive..

* WIP

* let's not support group mode for versions pre-11.

The only fix is to change mode to 0700 before start, because otherwise postgresql
doesn't start, and error is non-obvious.
2020-02-14 20:51:20 +02:00
danbst 2c77c53487 Merge branch 'master' into postgresql_group 2020-02-14 19:00:52 +02:00
Ivan Kozik 0be376a8e2
postgresqlPackages.periods: init at 1.1 (#79255) 2020-02-14 18:43:31 +02:00
Mario Rodas bfdb8f99ce postgresql_12: 12.1 -> 12.2
Release notes: https://www.postgresql.org/docs/current/release-12-2.html
2020-02-14 00:04:00 -05:00
Mario Rodas 3668174836 postgresql_11: 11.6 -> 11.7
Release notes: https://www.postgresql.org/docs/11/release-11-7.html
2020-02-14 00:03:00 -05:00
Mario Rodas 08d614c72f postgresql_10: 10.11 -> 10.12
Release notes: https://www.postgresql.org/docs/10/release-10-12.html
2020-02-14 00:02:00 -05:00
Mario Rodas d067b4ac81 postgresql_9_6: 9.6.16 -> 9.6.17
Release notes: https://www.postgresql.org/docs/9.6/release-9-6-17.html
2020-02-14 00:01:00 -05:00
Mario Rodas 4e7ea9b49a postgresql_9_5: 9.5.20 -> 9.5.21
Release notes: https://www.postgresql.org/docs/9.5/release-9-5-21.html
2020-02-14 00:00:00 -05:00
R. RyanTM 82e7ef2c16 postgresql11Packages.pg_partman: 4.2.2 -> 4.3.0 2020-02-09 03:15:19 -06:00
Mario Rodas 0e76e3bb48
postgresqlPackages.timescaledb: 1.5.1 -> 1.6.0
Changelog: https://github.com/timescale/timescaledb/releases/tag/1.6.0
2020-01-15 18:18:18 -05:00
Mario Rodas 85b74dd7a5
postgresqlPackages.plv8: 2.3.13 -> 2.3.14 2020-01-09 21:21:21 -05:00
Robin Gloster ab0cfd9e03
treewide: NIX_*_COMPILE -> string 2019-12-31 00:10:18 +01:00
Mario Rodas a4d2e5edf9
postgresqlPackages.tds_fdw: 1.0.8 -> 2.0.1
Changelog: https://github.com/tds-fdw/tds_fdw/releases/tag/v2.0.1
2019-12-03 19:19:19 -05:00
Jonathan Ringer 0c1c18ca44
Merge branch 'master' into staging-next 2019-11-27 22:57:50 -08:00
Mario Rodas fe0eb2a9a7
postgresqlPackages.pgtap: 1.0.0 -> 1.1.0 2019-11-25 18:00:00 -05:00
Frederik Rietdijk 10d0c68a9b Merge staging-next into staging 2019-11-20 10:02:21 +01:00
Frederik Rietdijk 5f8b0d7d99 Merge staging-next into staging 2019-11-19 14:53:29 +01:00
Mario Rodas 87efa3c032
Merge pull request #73605 from marsam/update-timescaledb
postgresqlPackages.timescaledb: 1.5.0 -> 1.5.1
2019-11-19 05:33:58 -05:00
Mario Rodas 9177df65e7
Merge pull request #73604 from marsam/update-pg_auto_failover
postgresqlPackages.pg_auto_failover: 1.0.4 -> 1.0.5
2019-11-18 21:41:45 -05:00
Mario Rodas 7a7908e63f
Merge pull request #73601 from marsam/update-pg_hll
postgresqlPackages.pg_hll: 2.12 -> 2.14
2019-11-18 21:41:15 -05:00
Mario Rodas 6f28e9b2d7
postgresqlPackages.timescaledb: 1.5.0 -> 1.5.1
Changelog: https://github.com/timescale/timescaledb/releases/tag/1.5.1
2019-11-17 22:22:22 -05:00
Mario Rodas 33a9a0f0f6
postgresqlPackages.pg_auto_failover: 1.0.4 -> 1.0.5 2019-11-17 22:22:22 -05:00
Mario Rodas e3da798939
postgresqlPackages.pg_hll: 2.12 -> 2.14 2019-11-17 22:22:22 -05:00
Mario Rodas ab692f467b
postgresqlPackages.pgroonga: 2.2.1 -> 2.2.2 2019-11-17 22:22:22 -05:00
Mario Rodas f2c73ca221
postgresql_12: 12.0 -> 12.1
Release notes: https://www.postgresql.org/docs/12/release-12-1.html
2019-11-14 20:04:00 -05:00
Mario Rodas ac5cdc41b2
postgresql_11: 11.5 -> 11.6
Release notes: https://www.postgresql.org/docs/11/release-11-6.html
2019-11-14 20:03:00 -05:00
Mario Rodas 4e80093ca1
postgresql_10: 10.10 -> 10.11
Release notes: https://www.postgresql.org/docs/10/release-10-11.html
2019-11-14 20:02:00 -05:00
Mario Rodas 3b16df6b14
postgresql_9_6: 9.6.15 -> 9.6.16
Release notes: https://www.postgresql.org/docs/9.6/release-9-6-16.html
2019-11-14 20:01:00 -05:00
Mario Rodas 5a9ba33b70
postgresql_9_5: 9.5.19 -> 9.5.20
Release notes: https://www.postgresql.org/docs/9.5/release-9-5-20.html
2019-11-14 20:00:00 -05:00
R. RyanTM fcb5d7ebf8 postgresql11Packages.pg_partman: 4.1.0 -> 4.2.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pg_partman/versions

 (#71747)
2019-11-14 00:09:43 +01:00
Mario Rodas 02fb0b9b2a
Merge pull request #72441 from marsam/update-pg_topn
postgresqlPackages.pg_topn: 2.2.2 -> 2.3.0
2019-11-04 22:00:03 -05:00
Mario Rodas 0b65eaafe2
postgresqlPackages.pg_topn: 2.2.2 -> 2.3.0 2019-11-01 04:20:00 -05:00
Mario Rodas bfdbbeb452
postgresqlPackages.timescaledb: 1.4.2 -> 1.5.0
Changelog: https://github.com/timescale/timescaledb/releases/tag/1.5.0
2019-11-01 04:20:00 -05:00
Niklas Hambüchen 09ffd72207 postgresql: Disable 2 failing tests on musl 2019-10-30 13:27:40 +01:00
Mario Rodas abcfee984e
Merge pull request #71478 from marsam/update-postgis
postgresqlPackages.postgis: 2.5.3 -> 3.0.0
2019-10-23 05:32:42 -05:00
Mario Rodas 5ee2a05049
postgresqlPackages.postgis: 2.5.3 -> 3.0.0
Release notes: https://postgis.net/2019/10/20/postgis-3.0.0/
2019-10-20 16:20:00 -05:00
Jan Tojnar e2e3861d6b
Merge branch 'staging-next' into staging 2019-10-12 00:51:55 +02:00
Mario Rodas 387020ecf8
postgresql_12: init at 12.0
Release notes: https://www.postgresql.org/docs/12/release-12.html
2019-10-07 20:03:32 -05:00
R. RyanTM 6479820d8c postgresql11Packages.pg_repack: 1.4.4 -> 1.4.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pg_repack/versions
2019-10-07 16:03:01 -07:00
Mario Rodas 801f8f7a01
Merge pull request #68650 from marsam/update-timescaledb
postgresqlPackages.timescaledb: 1.4.1 -> 1.4.2
2019-09-15 17:50:13 -05:00
Mario Rodas 15e238ba1d
Merge pull request #68654 from marsam/update-pg_auto_failover
postgresql11Packages.pg_auto_failover: 1.0.3 -> 1.0.4
2019-09-15 17:49:56 -05:00
Mario Rodas b41d1ca5cb
Merge pull request #68652 from marsam/update-pgrouting
postgresqlPackages.pgrouting: 2.6.2 -> 2.6.3
2019-09-13 23:15:17 -05:00
Mario Rodas 29254b0bd7
postgresqlPackages.pgjwt: add platforms 2019-09-13 04:24:00 -05:00
Mario Rodas 1d3bfd35e2
postgresqlPackages.pgroonga: add platforms 2019-09-13 04:23:00 -05:00
Mario Rodas 8773f20845
postgresqlPackages.pgrouting: add platforms 2019-09-13 04:22:00 -05:00
Mario Rodas 11ba54d66d
postgresqlPackages.repmgr: add platforms 2019-09-13 04:21:00 -05:00
Mario Rodas 0398993a32
postgresqlPackages.timescaledb: 1.4.1 -> 1.4.2
Changelog: https://github.com/timescale/timescaledb/releases/tag/1.4.2
2019-09-13 04:20:00 -05:00
Mario Rodas 7c046d2b92
postgresql11Packages.pg_auto_failover: 1.0.3 -> 1.0.4 2019-09-13 04:20:00 -05:00
Mario Rodas 7fc606065c
postgresqlPackages.pgrouting: 2.6.2 -> 2.6.3
Changelog: https://github.com/pgRouting/pgrouting/releases/tag/v2.6.3
2019-09-13 04:20:00 -05:00
Mario Rodas f0c6cd779a
postgresqlPackages.tsearch_extras: add platforms 2019-09-13 04:20:00 -05:00
zimbatm 4441befd43
repmgr: init at 4.4.0 (#68444) 2019-09-10 21:16:03 +02:00
adisbladis 8e2fc57a80
postgresql_9_4: Remove package
It's only supported until February 13, 2020 which is during the 19.09 life cycle.
2019-09-07 15:31:27 +01:00
Vladimír Čunát 4aad2947f8
Merge branch 'master' into staging-next 2019-09-04 11:00:56 +02:00
Mario Rodas 1f82f636e2
Merge pull request #67909 from marsam/update-pg_cron
postgresqlPackages.pg_cron: 1.1.4 -> 1.2.0
2019-09-02 19:26:10 -05:00
Mario Rodas 15f38453c4
postgresqlPackages.pg_cron: 1.1.4 -> 1.2.0
changelog: https://github.com/citusdata/pg_cron/releases/tag/v1.2.0
2019-09-01 16:20:00 -05:00
Mario Rodas f465a74943
postgresqlPackages.postgis: 2.5.2 -> 2.5.3 2019-09-01 16:20:00 -05:00
Frederik Rietdijk ad1d58c622 Merge staging-next into staging 2019-08-31 10:04:20 +02:00
Frederik Rietdijk fc74ba8291 Merge master into staging-next 2019-08-31 09:50:38 +02:00
Mario Rodas 964974bbb7
postgresqlPackages.plv8: add marsam as maintainer 2019-08-29 03:01:00 -05:00
Mario Rodas f24c729196
postgresqlPackages.plv8: narrow platforms to x86_64-linux
plv8 uses a custom version v8 version, which is reported to only build
on x86_64-linux. The next major version plv8 should drop the custom v8.
2019-08-29 03:00:00 -05:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Mario Rodas 1f3aa24274
postgresqlPackages.plv8: 2.3.12 -> 2.3.13
Changes: https://github.com/plv8/plv8/compare/v2.3.12...v2.3.13
2019-08-27 22:57:05 -05:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Robin Gloster f4fc845e5b
Merge remote-tracking branch 'upstream/master' into openssl-1.1 2019-08-21 14:25:13 +02:00
Robin Gloster 4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
danbst bd1fc9f9be postgresqlPackages: mark pg_auto_failover and pipelinedb broken for PG < 11
Marking packages broken isn't as fatal as throwing an exception. In my usecase,
I wanted to build all non-broken packages, that is:
```
nix-build -E 'with import ./.{}; with lib; flip filterAttrs postgresqlPackages (n: v: !v.meta.broken or false)'
```
2019-08-15 02:27:29 +03:00
danbst bd331e42f5 postgresql/tds_fdw: mark broken for PG >= 11
The release with fix is still in alpha
https://github.com/tds-fdw/tds_fdw/releases
2019-08-15 01:55:06 +03:00
danbst 954c0fd2fa postgresqlPackages: fix build of several PG plugins and add postgresql11Packages
Leftovers from 80aadbec60

`postgresql11Packages` are added to be built by Hydra as mainline PG plugins.
2019-08-15 01:36:59 +03:00
Daniel Frank bae6ce3b6c postgresql: fix CVE-2019-10208, CVE-2019-10209 (#66347) 2019-08-09 14:30:33 +03:00
Mario Rodas 3b43d99e70
postgresqlPackages.pg_auto_failover: 1.0.2 -> 1.0.3 2019-08-02 04:20:00 -05:00
Vladimír Čunát f3952fc50c
Merge #65460: postgis: allow on Darwin 2019-08-03 16:47:58 +02:00
Vladimír Čunát a89f245f3b
Merge branch 'master' into openssl-1.1
... to avoid the accidental gnupatch rebuild
2019-08-02 09:47:38 +02:00
Mario Rodas 8ebe63c246
postgresqlPackages.timescaledb: add marsam as maintainer 2019-08-02 00:49:52 -05:00
Mario Rodas b5f09b347d
postgresqlPackages.timescaledb: 1.4.0 -> 1.4.1 2019-08-02 00:47:53 -05:00
Luke Worth c1da476a88 postgis: match platform compatibility with postgres 2019-08-01 08:50:44 +10:00
Luke Worth 19011bad0c postgis: add explanatory comment 2019-08-01 08:50:41 +10:00
Robin Gloster 2d6f0cb176
postgresql: build < 9.5 with openssl 1.0.2 2019-07-29 21:25:10 +02:00
Luke Worth 7f54b9a2c6 postgis: make libiconv dependent on darwin 2019-07-27 19:43:31 +10:00
Luke Worth 330fff02a6 postgis: allow on Darwin
To get PostGIS going on Darwin:
1. Add libiconv, as is often required.
2. Expand platforms to `platforms.all`.
3. Deal with PostGIS' quirky build system.

PostGIS' configure.ac has the following gem:

  AC_MSG_RESULT([------------------------------------------------------------------------])
  AC_MSG_RESULT([  WARNING: You have set the --prefix to '$prefix'. But we mostly    ])
  AC_MSG_RESULT([  ignore the --prefix. For your info, using the values determined from ])
  AC_MSG_RESULT([  $PG_CONFIG we will be installing:   ])
  AC_MSG_RESULT([    * postgis shared library in $PGSQL_LIBDIR ])
  AC_MSG_RESULT([    * postgis SQL files in $PGSQL_SHAREDIR/contrib/postgis-$POSTGIS_MAJOR_VERSION.$POSTGIS_MINOR_VERSION ])
  AC_MSG_RESULT([    * postgis executables in $PGSQL_BINDIR ])
  AC_MSG_RESULT([------------------------------------------------------------------------])

This is suggestive of some assumptions in the build system, which are
revealed when building in Nix on Darwin: the build fails because the
postgres binary cannot be found in the install prefix specified for
postgis; vis.

  cc x -bundle_loader $POSTGIS_PREFIX/bin/postgres

This bundle_loader parameter is only available on Darwin, and this
problem doesn't appear to affect Linux systems.

The solution presented here is to symlink the postgres binary where
PostGIS expects it to be, and then remove it after the build completes.
2019-07-27 19:00:46 +10:00
Danylo Hlynskyi e028c1a396
Merge pull request #65121 from marsam/update-pgroonga
postgresqlPackages.pgroonga: 2.2.0 -> 2.2.1
2019-07-23 22:31:39 +03:00
Danylo Hlynskyi 506379a7ef
Merge pull request #65122 from marsam/update-timescaledb
postgresqlPackages.timescaledb: 1.3.2 -> 1.4.0
2019-07-23 22:31:20 +03:00
danbst 92a015d35d nixos/postgresql: support 0750 for data directory
This is rework of part of https://github.com/NixOS/nixpkgs/pull/46670.
My usecase was to be able to inspect PG datadir as wheel user.

PG11 now allows starting server with 0750 mask for data dir.
`groupAccess = true` now does this automatically. The only thing you have to do
is to set group ownership.

For PG10 and below, I've described a hack how this can be done. Before this PR
hack was impossible. The hack isn't ideal, because there is short
period of time when dir mode is 0700, so I didn't want to make it official.

Test/example is present too.
2019-07-23 21:56:26 +03:00
Franz Pletz 290cfc767c
postgresql: fix systemd support
See comments in #61581. versionAtLeast was called with arguments in the
wrong order.
2019-07-23 05:08:28 +02:00
Niklas Hambüchen 943baed788 postgresql: Make systemd support configurable. See #61580. (#61581)
On by default, as was before.

The systemd dependency means that all libraries or applications using only libpq
will also pull systemd into their closures.

Further, no application or library using libpq can be built against musl, as
systemd relies on glibc-only features and thus does not build with musl.

With it being configurable, packages that need only the library can at
least turn it off to reduce their closure size.
2019-07-21 22:13:06 +03:00
Danylo Hlynskyi caa0f82bf8
docs: update docs for postgresql plugins (#64899)
docs: update docs for postgresql plugins

Co-Authored-By: Mario Rodas <marsam@users.noreply.github.com>
2019-07-21 22:05:41 +03:00
Mario Rodas bc20384b82
postgresqlPackages.timescaledb: 1.3.2 -> 1.4.0 2019-07-19 20:53:42 -05:00
Mario Rodas 031c6151dd
postgresqlPackages.pgroonga: 2.2.0 -> 2.2.1 2019-07-19 20:48:05 -05:00
Danylo Hlynskyi 475f1ebd98
Merge branch 'master' into postgresql-plugins-bin 2019-07-16 11:32:52 +03:00
Frederik Rietdijk 74c24385cb Merge master into staging-next 2019-07-09 15:46:00 +02:00