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
Daiderd Jordan
b984c227d2
cmake: remove CMAKE_OSX_DEPLOYMENT_TARGET overrides
...
We _do_ want minimum versions in our packages.
2020-01-31 21:52:12 +01:00
Daiderd Jordan
9b579843d4
treewide: use stdenv.macosVersionMin
2020-01-31 21:52:12 +01: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
Franz Pletz
66237e1bca
cockroachdb: fix build on darwin
2019-12-27 05:21:40 +01:00
Franz Pletz
77b6c3cd06
Merge remote-tracking branch 'origin/master' into gcc-9
2019-12-26 14:17:36 +01:00
Danylo Hlynskyi
debca548f9
dolt: init at 0.12.0 ( #75693 )
...
* dolt: init at 0.12.0
* Update pkgs/servers/sql/dolt/default.nix
Co-Authored-By: robert seaton <robbpseaton@gmail.com>
* fix eval
* Update pkgs/servers/sql/dolt/default.nix
Co-Authored-By: Wael Nasreddine <wael.nasreddine@gmail.com>
* update Go docs as well
2019-12-16 00:58:16 +02:00
Renaud
1d41c6eca7
Merge pull request #74970 from StillerHarpo/monetdb
...
monetdb: 11.33.11 -> 11.35.3
2019-12-07 18:43:31 +01:00
Florian Engel
341325768c
monetdb: 11.33.11 -> 11.35.3
2019-12-04 10:56:22 +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
Frederik Rietdijk
d14baf7747
Merge master into staging-next
2019-11-30 08:57:28 +01:00
Renaud
e7f7b475d3
mysql80: define pname and version
...
version is needed by the mysql service module
Close #68322
2019-11-28 20:21:05 +01: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
65edeb8633
Merge master into staging-next
2019-11-20 10:01:49 +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
Frederik Rietdijk
f6b39f852e
Merge master into staging-next
2019-11-19 10:53:44 +01: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
Frederik Rietdijk
be7125dde7
Merge master into staging-next
2019-11-16 11:45:07 +01:00
c0bw3b
9367367dfd
Treewide: fix URL permanent redirects
...
Permanent redirects on homepages and/or source URLs
as reported by Repology
2019-11-16 01:41:23 +01:00
Izorkin
7470e6e6de
mariadb: refactor build configuration
2019-11-15 10:16:51 +03:00
Izorkin
3c824cd0f6
mariadb: remove development components
2019-11-15 10:15:25 +03: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
Jan Tojnar
da76deffd1
Merge branch 'master' into staging-next
2019-11-14 23:25:36 +01:00
Aaron Andersen
2295a94fc1
mariadb: 10.3.18 -> 10.3.20
2019-11-14 10:13:27 -08:00
Frederik Rietdijk
c6e31d0767
Merge master into staging-next
2019-11-14 13:31:39 +01: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
Izorkin
571c59fa42
mariadb-connector-c: 3.1.4 -> 3.1.5
2019-11-12 14:51:45 +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
Franz Pletz
8dca8b9ccb
Merge remote-tracking branch 'origin/master' into gcc-9
2019-11-05 01:07:22 +01:00
Franz Pletz
55a30b39f5
cockroachdb: fix build with gcc9
2019-11-03 14:43:40 +01:00
Franz Pletz
5957b4a8d9
cockroachdb: 19.1.4 -> 19.1.5
2019-11-03 14:43:39 +01:00
Franz Pletz
74639e47a8
percona-server: fix build with gcc9
2019-11-03 00:52:53 +01: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
765c0e0619
Merge pull request #72019 from nh2/postgres-musl-test-failures
...
postgresql: Disable 2 failing tests on musl
2019-10-30 16:26:49 +01:00
Frederik Rietdijk
d9642e006f
mariadb-connector-c: make patch only for darwin to reduce rebuilds
2019-10-30 15:01:52 +01:00
Izorkin
638edb9528
mariadb-connector-c: fix crypt_libs
2019-10-30 15:00:43 +01:00
Niklas Hambüchen
09ffd72207
postgresql: Disable 2 failing tests on musl
2019-10-30 13:27:40 +01:00
Izorkin
527372f2ec
mariadb-connector-c: fix mysql_version.h search error
2019-10-25 12:40:53 +03:00
Frederik Rietdijk
612f0525b3
Merge staging-next into staging
2019-10-24 08:34:33 +02:00
R. RyanTM
a815dd730b
pgbouncer: 1.11.0 -> 1.12.0 ( #71746 )
...
* pgbouncer: 1.11.0 -> 1.12.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgbouncer/versions
* pgbouncer: enable parallel builds
+ move pkgconfig to nativeBuildInputs
2019-10-23 16:52:58 +02: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
Izorkin
ffae858195
mariadb-connector-c: 3.1.2 -> 3.1.4
2019-10-23 10:01:40 +03: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
Dmitry Kalinkin
1f9882cb29
Merge pull request #70841 from callahad/mariadb
...
mariadb: fix builds on darwin
2019-10-10 22:58:28 -04:00
Aaron Andersen
f878596559
Merge pull request #70010 from ajs124/fix/mariadb-connector-c-socket-path
...
mariadb-connector-c: fix socket path
2019-10-10 07:35:04 -04:00
Dan Callahan
b0b0bb7e0b
mariadb: fix darwin build
...
We want to disable `PLUGIN_AUTH_PAM` when building:
1. `mariadb` on macOS.
2. `mariadb-client` on any platform
Unfortunately, the interaction of these two commits
6c97b0486c
7e43b4d0ae
created a situation where we disable it *twice* when building on macOS.
Once in a darwin-specific `prePatch` script, and again in the `patches`
section for client builds.
This removes the redundant `prePatch` script and conditionally applies
the patch to `mariadb` server builds on darwin.
Fixes #70835
2019-10-09 21:56:59 +01: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
ajs124
532c3a6075
mariadb-connector-c: fix socket path
2019-09-29 13:03:05 +02:00
Ryan Mulligan
c71b1769af
Merge pull request #69682 from r-ryantm/auto-update/monetdb
...
monetdb: 11.33.3 -> 11.33.11
2019-09-28 08:28:30 -07:00
Mario Rodas
a4e1bf7f58
Merge pull request #69753 from r-ryantm/auto-update/pgbouncer
...
pgbouncer: 1.10.0 -> 1.11.0
2019-09-28 06:20:56 -05:00
R. RyanTM
e6439c7698
pgbouncer: 1.10.0 -> 1.11.0
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgbouncer/versions
2019-09-27 19:56:05 -07:00
R. RyanTM
97b89a1728
monetdb: 11.33.3 -> 11.33.11
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/monetdb/versions
2019-09-27 11:17:39 -07:00
Vladimír Čunát
eab41878ac
Merge branch 'master' into staging-next
2019-09-24 08:14:34 +02:00
Matthew Bauer
067b4dbb93
mariadb: add patch for missing libcrypt on darwin
...
Really fixes #69034
2019-09-22 17:34:24 -04:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
...
This reverts commit f8a8fc6c7c
.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
...
This reverts commit 41af38f372
, reversing
changes made to f0fec244ca
.
Let's delay this. We have some serious regressions.
2019-09-21 20:05:09 +02:00
Vladimír Čunát
41af38f372
Merge branch 'staging-next'
2019-09-21 13:14:09 +02:00
Matthew Bauer
7e43b4d0ae
mariadb: disable auth_pam plugin on darwin
...
Fixes #69034
This plugin doesn’t work right for us now, needs to be disabled. It
was added first in 10.3.18:
91fdb931fa (diff-7cea40646c6b8df9a67a3eac4eec9bc6)
2019-09-21 00:18:34 -04:00
Vladimír Čunát
fa4a3af5a7
Merge branch 'master' into staging-next
2019-09-16 19:24:52 +02:00
Yurii Izorkin
6c97b0486c
mariadb: 10.3.17 -> 10.3.18 ( #68541 )
...
* mariadb: fix library locate
* mariadb: 10.3.17 -> 10.3.18
2019-09-15 23:48:37 -04: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
Vladimír Čunát
b6c6e1f9e8
Merge branch 'master' into staging-next
2019-09-15 13:18:54 +02: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