Commit graph

958 commits

Author SHA1 Message Date
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
Florian Klink 44c20fb83e
Merge pull request #84087 from Izorkin/mariadb-tokudb
mariadb: update build configuration.
2020-04-02 23:44:03 +02:00
R. RyanTM 8bdd561ccc dolt: 0.15.0 -> 0.15.2 2020-04-02 16:13:21 +00:00
Izorkin 5abc729dd6 mariadb: fix deps build 2020-04-02 18:05:07 +03:00
Izorkin 24357432cd mariadb: add zstd compression 2020-04-02 18:05:06 +03:00
Izorkin eafdfc8f51 mariadb: add option to build server without rocksdb storage 2020-04-02 18:05:06 +03:00
Izorkin 0296e678cf mariadb: add option to build server without tokudb storage 2020-04-02 18:05:04 +03:00
Jörg Thalheim 066db11215
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504, reversing
changes made to afd997aab6.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00
Mario Rodas f2dd2b8634 dolt: fix build on darwin 2020-03-21 04:38:00 -05: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
Mario Rodas 448a05154a
Merge pull request #82536 from r-ryantm/auto-update/dolt
dolt: 0.12.0 -> 0.15.0
2020-03-15 22:52:26 -05:00
zimbatm 3951e718b8
postgresqlPackages.repmgr: 4.4.0 -> 5.0.0 2020-03-15 22:07:10 +01:00
Florian Klink 4b8d66aa72 mariadb: remove withoutClient
When used as a global override, it breaks most of the options in the
mysql module, such as ensureDatabases, ensureUsers, initialDatabases,
initialScript.

We could use `.client` there, but if the reasoning behind this was
closure size reduction, we now end up with the same (or a bigger)
runtime closure and more complexity.

Apart from the options exposed by the mysql module, the client is also
likely to be required for local backups or DBA tasks anyways.

Instead of dealing with all the increased complexity of this for no
arguable benefit, let's just remove the `withoutClient` argument.
Storage space on mysql servers shouldn't be that much of an issue.

Closes #82428.
2020-03-15 13:49:13 +01:00
R. RyanTM 39dcb59fbf monetdb: 11.35.9 -> 11.35.19 2020-03-14 06:02:25 +00:00
R. RyanTM 1946fabf6a dolt: 0.12.0 -> 0.15.0 2020-03-14 05:01:03 +00: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
Jörg Thalheim 5b732a1f51
Merge pull request #80768 from aanderse/mysql-dialog
mariadb: do not delete runtime plugins from package
2020-02-25 20:08:43 +00:00
Jörg Thalheim b93ef3bf00
Merge pull request #80756 from B4dM4n/mariadb-pkgconfig-link
mariadb-connector-c: add mysqlclient.pc pkgconfig symlink
2020-02-25 19:13:44 +00:00
Graham Christensen b6f8e00060
Merge pull request #80696 from deshaw/contrib/patroni
patroni: init at 1.6.4
2020-02-25 09:55:36 -05:00
Souvik Sen e6c42d3740 patroni: init at 1.6.4 2020-02-25 02:27:12 -05: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
Izorkin ca4cec7c87 mariadb-connector-c: 3.1.5 -> 3.1.7 2020-02-23 10:36:38 +03:00
Izorkin 982a23de94 mariadb: add needed packages 2020-02-22 11:31:05 +03:00
Izorkin c6d159d696 mariadb: build server with NUMA 2020-02-22 11:30:07 +03:00
Izorkin e4f17a2b17 mariadb: 10.3.20 -> 10.3.22 2020-02-22 11:26:28 +03:00
Aaron Andersen 951ceca9df mariadb: do not delete runtime plugins from package 2020-02-21 20:31:35 -05:00
Fabian Möller 349a991bfb
mariadb-connector-c: add mysqlclient.pc pkgconfig symlink 2020-02-21 23:05:44 +01: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
R. RyanTM 229b95f8c4 monetdb: 11.35.3 -> 11.35.9 2020-02-06 20:16:20 +01:00
Frederik Rietdijk 76a439239e Merge master into staging-next 2020-02-05 10:28:52 +01:00
Johannes Schleifenbaum 39ebcc496f
mariadb: mytop add "clear" to PATH
The following error was printed every second:

    Can't exec "clear": Not a directory at /nix/store/.../bin/.mytop-wrapped line 110.
    Use of uninitialized value $CLEAR in string at /nix/store/.../bin/.mytop-wrapped line 781.

Therefore the mytop output was repeatedly displayed instead of updating itself "in-place".
2020-02-03 15:48:18 +01:00