Commit Graph

1223 Commits

Author SHA1 Message Date
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
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
Jan Tojnar
a441eaa7b1
Merge branch 'staging-next' into staging 2019-09-12 22:49:43 +02:00
zimbatm
4441befd43
repmgr: init at 4.4.0 (#68444) 2019-09-10 21:16:03 +02:00
Izorkin
edf389d92b mariadb-connector-c: drop v2.3 2019-09-09 16:05:01 +03:00
Izorkin
50fbe46ae7 mariadb-galera: 25.3.26 -> 25.3.27 2019-09-09 15:55:34 +03:00
Izorkin
e2bd655822 mariadb-galera: move to external package 2019-09-09 15:55:34 +03:00
Izorkin
3def2b4b6a mariadb-connector-c: init at 3.1.2 2019-09-09 15:55:34 +03:00
Izorkin
cfb909229d mariadb-connector-c: move to external package 2019-09-09 15:55:34 +03: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
Frederik Rietdijk
66bc7fc1b3 Merge master into staging-next 2019-09-06 22:46:05 +02:00
Vlad Artamonov
0f52e11c40 cockroachdb: 1.19.1 -> 1.19.4 2019-09-06 21:53:29 +02: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
R. RyanTM
13d0171516 pgpool: 4.0.5 -> 4.0.6 (#67020)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgpool-ii/versions
2019-08-20 13:56:19 +03:00
Danylo Hlynskyi
2ca09a94be
Merge pull request #66657 from danbst/pgpackages-fixes
Postgresql plugins fixes
2019-08-18 17:30:56 +03:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Frederik Rietdijk
fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +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
Derek Kulinski
1c392dfcf0 pgbouncer: use c-ares for name resolution (#66336)
According to pgbouncer README.md file c-ares is the
prefered way to resolve names for pgbouncer 1.10+:
https://github.com/pgbouncer/pgbouncer/blob/master/README.md#dns-lookup-support

The previous method (evdns) did not support EDNS0 and SOA lookups.
2019-08-15 03:20:42 +03: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
Tim Otten
dae42566db mysql80: init at 8.0.17 (#65221)
MySQL 8.0 is a significant iteration after MySQL 5.7.  This patch adds it as
a parallel build alongside mysql57 (similar to mysql56 and mysql55 before).
2019-08-13 19:50:51 +00:00
Daniel Frank
bae6ce3b6c postgresql: fix CVE-2019-10208, CVE-2019-10209 (#66347) 2019-08-09 14:30:33 +03:00
Derek Kulinski
b1d00b71b6 pgpool: 3.4.14 -> 4.0.5 (#66224)
Updated to PGPool-II 4.0.5 and modify the code to allow absolute path
for pool_passwd file.
2019-08-07 14:15:10 +03:00
Andreas Rammhold
955480e6bf
Merge pull request #65950 from aanderse/mysql-update
mysql57: 5.7.25 -> 5.7.27
2019-08-06 08:15:50 +00:00
Aaron Andersen
88770b01d5 mysql57: 5.7.25 -> 5.7.27 2019-08-04 10:41:03 -04:00
Jörg Thalheim
c740bbf1ba
mariadb: 10.3.15 -> 10.3.17 (#63355)
mariadb: 10.3.15 -> 10.3.17
2019-08-02 14:54:03 +01:00
Izorkin
21e891efd1 mariadb: fix build in Darwin 2019-08-02 13:31:13 +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
Robin Gloster
30969073f0
Merge remote-tracking branch 'upstream/master' into openssl-1.1 2019-08-02 03:01:30 +02:00
Izorkin
12f95f7572 mariadb: remove c++11 narrowing error patch 2019-08-01 20:26:23 +03:00
Izorkin
ac90575382 mariadb: clean config 2019-08-01 20:26:21 +03:00
Izorkin
0692c615e5 mariadb: remove test binaries 2019-08-01 14:22:10 +03:00
Izorkin
0a4562277f mariadb: fix config build mariadb client 2019-08-01 14:18:12 +03:00
Izorkin
c8488b913a mariadb: add option to build server without client binary files 2019-08-01 14:15:55 +03:00
Izorkin
f0d88f05b6 mariadb: fix mariadb_config path 2019-08-01 14:08:45 +03:00
Izorkin
9d5e531dff mariadb: 10.3.15 -> 10.3.17 2019-08-01 14:01:56 +03:00
Jörg Thalheim
304f267917
Merge pull request #64646 from aanderse/mytop
mariadb: fix mytop script
2019-08-01 11:29:03 +01:00
Aaron Andersen
ccb9ada402 mariadb: fix mytop script 2019-07-31 22:35:15 -04: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
R. RyanTM
2e4fe8db89 pgbouncer: 1.9.0 -> 1.10.0 (#64869)
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-07-16 21:04:15 +03: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
Frederik Rietdijk
25a77b7210 Merge staging-next into staging 2019-07-03 08:59:42 +02:00
Mario Rodas
a94a497dbc
postgresqlPackages.plv8: 2.3.11 -> 2.3.12 2019-07-02 04:20:00 -05:00
Erlend Hamberg
80aadbec60
Install postgresql extensions under $out/share/postgresql
This fixes extensions after #62271 moved files from `$out/share` to
`$out/share/postgresql`.
2019-07-01 16:24:44 +02:00
Aaron Andersen
ae02678a9d
Merge pull request #63786 from aanderse/mysql
mysql: drop support for deprecated package & module option
2019-06-27 12:14:35 -04:00
Aaron Andersen
7d44ceeb2c mysql55: remove package 2019-06-25 17:26:48 -04:00
Mario Rodas
333de5d0ff
postgresqlPackages.timescaledb: 1.3.1 -> 1.3.2 2019-06-24 18:33:35 -05:00
Mario Rodas
5ba133ed2e
postgresql_11: 11.3 -> 11.4 2019-06-20 23:47:59 -05:00
Mario Rodas
76d3cbb096
postgresql_10: 10.8 -> 10.9 2019-06-20 23:47:33 -05:00
Mario Rodas
0f612b8ec4
postgresql_9_6: 9.6.13 -> 9.6.14 2019-06-20 23:47:08 -05:00
Mario Rodas
14de736372
postgresql_9_5: 9.5.17 -> 9.5.18 2019-06-20 23:46:39 -05:00
Mario Rodas
69f1914ab7
postgresql_9_4: 9.4.22 -> 9.4.23 2019-06-20 23:46:13 -05:00
Mario Rodas
5bfbf44978
Merge pull request #63144 from marsam/timescaledb-disable-telemetry
timescaledb: disable telemetry
2019-06-17 22:36:03 -05:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Mario Rodas
6063569f0a
timescaledb: disable telemetry 2019-06-14 16:20:00 -05:00
Vladimír Čunát
788261a1a9
Merge branch 'master' into staging-next
Brings in Haskell rebuild.
Hydra nixpkgs: ?compare=1525186
2019-06-14 17:47:23 +02:00
Frederik Rietdijk
7184efb40a Merge master into staging-next 2019-06-12 09:22:07 +02:00
Mario Rodas
7ec68bab29
postgresqlPackages.pg_bigm: init at 1.2 2019-06-11 20:30:00 -05:00
Matthew Bauer
288eb1485b
Merge pull request #62900 from thefloweringash/mysql55-clang6
mysql55: fix build under clang 6 (and newer)
2019-06-11 17:45:12 -04:00
steve-chavez
e1f3167d6d pg-safeupdate: init at 1.2
safeupdate is a simple extension to PostgreSQL that raises an error if
UPDATE and DELETE are executed without specifying conditions.
2019-06-11 12:19:27 -07:00
Peter Ferenczy
3830e5323e temporal_tables: init at 1.2.0 2019-06-11 09:06:26 -07:00
Mario Rodas
4c4afb3cb9 postgresqlPackages.timescaledb: 1.3.0 -> 1.3.1 2019-06-10 17:52:35 -07:00
Frederik Rietdijk
e58f0f6c99 Merge master into staging-next 2019-06-10 10:35:50 +02:00
Andrew Childs
70db1185b7 mysql55: fix build under clang 6 (and newer) 2019-06-09 23:33:57 +09:00
Frederik Rietdijk
d3afcac771 Merge master into staging-next 2019-06-09 12:28:52 +02:00
Mario Rodas
87d266fe93
postgresqlPackages.pgroonga: 2.1.9 -> 2.2.0 2019-06-06 20:20:33 -05:00
Matthew Bauer
73679b51f4
Merge pull request #62777 from thefloweringash/mariadb-clang
mariadb: fix clang and darwin build
2019-06-06 12:04:09 -04:00
Andrew Childs
b8a6649797 mariadb: fix clang and darwin build
The contents of `clang-isfinite.patch` are no longer necessary after
upstream revision 031fa6d4258574379ca3c1cbe912d235e9581982, which
includes a similar change.

Building in c++11 mode removes support for the GCC `typeof` extension
in favor of the standardized `__typeof__`. This causes errors when
using the `strmake_buf` macro, which relies on `typeof`.
2019-06-07 00:29:40 +09:00
Matthew Bauer
d598eca41e
Merge pull request #62752 from matthewbauer/darwin-fixes100
Fixes for x86_64-darwin failures on Hydra
2019-06-06 09:46:41 -04:00
Matthew Bauer
0c3b7ea547 postgresql: disable tests on darwin
reported in https://www.postgresql.org/message-id/4D8E1BC5-BBCF-4B19-8226-359201EA8305%40gmail.com
2019-06-06 00:18:38 -04:00
Matthew Bauer
641a59ab6d mysql55: broken on darwin
https://hydra.nixos.org/build/94204716
2019-06-05 22:52:04 -04:00
Vladimír Čunát
c0ccf42c69
Merge branch 'staging-next' into staging 2019-06-05 11:12:34 +02:00
Matthew Bauer
75a82b54a1
Merge pull request #44343 from Izorkin/mariadb-10.3
mariadb: 10.2.17 -> 10.3.15
2019-06-04 12:28:31 -04:00
Izorkin
a3da901ec7 mariadb: 10.2.17 -> 10.3.15 2019-06-04 19:02:16 +03:00
Matthew Bauer
0778645861
Merge pull request #51902 from Izorkin/mariadb-galera
mariadb.galera: 25.3.24 -> 25.3.26
2019-06-04 11:33:47 -04:00
Vladimír Čunát
ee86a325dd
Merge branch 'staging-next' into staging
Conflicts (simple):
	nixos/doc/manual/release-notes/rl-1909.xml
2019-06-03 22:34:49 +02:00
Roman Volosatovs
b906a41133
cockroachdb: 1.19.0 -> 1.19.1 2019-06-03 13:07:52 +02:00
Matthew Bauer
f5e7e1c24b
Merge pull request #62271 from matthewbauer/cleanup-after-postgresql
postgresql: install in $out/share/postgresql
2019-06-01 15:00:03 -04:00
Mario Rodas
5dfbc73c3b
Merge pull request #62006 from marsam/init-postgresql-pg_auto_failover
postgresqlPackages.pg_auto_failover: init at 1.0.2
2019-05-31 06:56:08 -05:00
Matthew Bauer
376bb5108a postgresql: install in $out/share/postgresql
Fixes #62235
2019-05-30 22:30:15 -04:00
Frederik Rietdijk
6e4e7c5dc6 Merge master into staging-next 2019-05-24 12:39:37 +02:00
Mario Rodas
e3156c8595
postgresqlPackages.pg_auto_failover: init at 1.0.2 2019-05-24 04:20:00 -05:00
Izorkin
c9d2d2fa82 mariadb: change default codepage to utf8mb4 2019-05-19 16:06:13 +03:00
Izorkin
3a6e362ec3 mariadb: change client config 2019-05-19 16:06:13 +03:00
Izorkin
1db3a91bab mariadb: change server config 2019-05-19 16:06:11 +03:00
Mario Rodas
60277c7d5e
Merge pull request #58441 from marsam/init-postgresql-pipelinedb
postgresqlPackages.pipelinedb: init at 1.0.0-13
2019-05-18 13:20:09 -05:00
Frederik Rietdijk
840e530934 Merge staging into staging-next 2019-05-18 08:17:48 +02:00
Austin Seipp
3b0b55df67
Merge pull request #61395 from risicle/ris-postgres-enable-check
postgresql: enable pre-install checks
2019-05-14 14:49:03 -05:00
Peter Ferenczy
d6d94878ea pg_partman: init at 4.1.0 2019-05-14 18:37:34 +02:00
Frederik Rietdijk
f0a4305e0a Merge staging-next into staging 2019-05-14 10:24:46 +02:00
Mario Rodas
fa9015f511 postgresql_11: 11.2 -> 11.3 2019-05-14 09:55:30 +02:00
Mario Rodas
34309d7373 postgresql_10: 10.7 -> 10.8 2019-05-14 09:55:30 +02:00
Mario Rodas
04cc838523 postgresql_9_6: 9.6.12 -> 9.6.13 2019-05-14 09:55:30 +02:00
Mario Rodas
63f8f36c3d postgresql_9_5: 9.5.16 -> 9.5.17 2019-05-14 09:55:30 +02:00
Mario Rodas
e6cf849d8b postgresql_9_4: 9.4.21 -> 9.4.22 2019-05-14 09:55:30 +02:00
Robert Scott
d7f36ecb3d postgresql: enable pre-install checks 2019-05-13 19:32:53 +01:00
Renaud
2fe5e5ba71
Merge pull request #60556 from r-ryantm/auto-update/groonga
groonga: 8.1.1 -> 9.0.2
2019-05-10 21:21:48 +02:00
Renaud
655006c23e
postgresqlPackages.pgroonga: 2.1.8 -> 2.1.9
Changelog: https://pgroonga.github.io/news/#version-2-1-9
2019-05-10 20:12:22 +02:00
Renaud
2fb1b3156f
Merge pull request #60932 from c0bw3b/patches-cleanup
[treewide] delete (some) unused patches
2019-05-07 23:34:04 +02:00
Mario Rodas
5a9983a76e
postgresqlPackages.timescaledb: 1.2.2 -> 1.3.0 2019-05-07 00:02:25 -05:00
Mario Rodas
12ee718d19
postgresqlPackages: enable on platforms where PostgreSQL is supported 2019-05-06 06:00:00 -05:00
cresh
31cf973dc7 squirrel-sql: Add MSSQL driver. (#55626) 2019-05-04 20:22:14 -04:00
Bas van Dijk
517c52ec2e
postgresql: always create the $out/bin directory
This is needed because some PostgreSQL plugins don't have a bin
directory. If only these plugins are listed in cfg.extraPlugins buildEnv
will turn $out/bin into a symbolic link to ${pg}/bin. Lateron we try to
rm $out/bin/{pg_config,postgres,pg_ctl} which will then fail because
$out/bin will be read-only.
2019-05-04 14:11:52 -05:00
c0bw3b
9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Austin Seipp
fecdbd9a49
cockroachdb: 2.1.6 -> 19.1.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-03 01:50:31 -05:00
Florian Engel
baf9c7fa85 monetdb: 11.31.13 -> 11.33.3 2019-05-02 15:21:36 +02:00
Austin Seipp
6efef9b51b
cockroachdb: 2.1.5 -> 2.1.6
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-04-27 20:52:01 -05:00
Mario Rodas
e89fc19b97
Merge pull request #58368 from marsam/update-timescaledb
timescaledb: 1.0.0 -> 1.2.2, timescaledb-parallel-copy: 2018-05-14 -> 0.2.0, timescaledb-tune: init at 0.5.0
2019-04-24 20:42:30 -05:00
Renaud
1154f7fe25
Merge pull request #58607 from marsam/update-plv8
postgresqlPackages.plv8: 2.3.8 -> 2.3.11
2019-04-24 22:26:14 +02:00
Izorkin
e71d172982 mariadb.galera: 25.3.24 -> 25.3.26 2019-04-23 20:59:57 +03:00
Mario Rodas
7bfe30917a
Merge pull request #59292 from steve-chavez/pgrouting
pgrouting: init at 2.6.2
2019-04-15 19:38:12 -05:00
steve-chavez
1f69a954e6 pgrouting: init at 2.6.2
* Remove configurePhase and gcc. Move perl dependency
* Shorten github rev
* Add $out/bin workaround
2019-04-15 18:24:45 -05:00
Mario Rodas
0b8d120d84 postgresqlPackages.pg_cron: 1.1.3 -> 1.1.4 (#59396) 2019-04-14 22:36:39 +02:00
Mario Rodas
3277aedf25 postgresqlPackages.postgis: 2.5.1 -> 2.5.2 (#58605) 2019-04-12 17:01:36 +02:00
Frederik Rietdijk
d108b49168 Merge master into staging-next 2019-04-09 16:38:35 +02:00
R. RyanTM
bc5c2f4c60 postgresqlPackages.postgis: 2.5.1 -> 2.5.2 (#58756)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/postgis/versions
2019-04-08 23:58:39 +02:00
R. RyanTM
33a8155449 postgresqlPackages.pg_cron: 1.1.2 -> 1.1.3 (#58747)
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_cron/versions
2019-04-08 23:44:12 +02:00
John Ericson
4ccb74011f Merge commit '18aa59b0f26fc707e7313f8467e67159e61600c2' from master into staging
There was one conflict in the NixOS manual; I checked that it still
built after resolving it.
2019-04-01 00:40:03 -04:00
Mario Rodas
f917e9d343
postgresqlPackages.plv8: 2.3.8 -> 2.3.11 2019-03-30 21:00:00 -05:00
Mario Rodas
d4d710c1ab
postgresqlPackages.pipelinedb: init at 1.0.0-13 2019-03-27 08:40:00 -05:00
Mario Rodas
42b75c6c38
timescaledb: 1.0.0 -> 1.2.2 2019-03-25 16:20:00 -05:00
Danylo Hlynskyi
40cc269561
Merge branch 'master' into postgresql-socket-in-run 2019-03-25 01:06:59 +02:00
Wael M. Nasreddine
5af0780492
Merge remote-tracking branch 'origin/master' into staging
* origin/master: (693 commits)
  buildGoModule: use go_1_12 instead of go_1_11 (#58103)
  gitAndTools.lab: 0.15.2 -> 0.15.3 (#58091)
  signal-desktop: 1.22.0 -> 1.23.0
  added missing semicolon to documentation
  terminus_font_ttf: 4.46.0 -> 4.47.0
  buildGoModule: remove SSL env vars in favor of cacert in buildInputs (#58071)
  dav1d: init at 0.2.1
  dropbox-cli: 2018.11.28 -> 2019.02.14
  atlassian-confluence: 6.14.1 -> 6.14.2
  maintainers: update email for dywedir
  python.pkgs.hglib: use patch to specify hg path (#57926)
  chkrootkit: 0.52 -> 0.53
  radare2-cutter: 1.7.2 -> 1.8.0
  autorandr: 1.7 -> 1.8
  pythonPackages.pyhepmc: fix build
  llvm-polly/clang-polly: use latest llvm
  apulse: 0.1.11.1 -> 0.1.12, cleanup
  factorio: experimental 0.17.14 → 0.17.16 (#58000)
  sequeler: 0.6.7 -> 0.6.8
  nasc: 0.5.1 -> 0.5.2
  ...
2019-03-21 21:01:25 -07:00
aszlig
f5106019d3
postgresql: Only use /run/postgresql on Linux
We only have /run on modern GNU/Linux systems and it's not necessarily
the case for Mac OS X or *BSD, so let's add the patch only if
stdenv.isLinux.

Thanks to @danbst for catching this.

Signed-off-by: aszlig <aszlig@nix.build>
2019-03-16 12:34:00 +01:00
R. RyanTM
1670e35e2d postgresqlPackages.pgroonga: 2.1.7 -> 2.1.8 (#54746)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgroonga/versions
2019-03-15 20:36:40 +01:00
aszlig
ef553788d0
postgresql: Move socket dir to /run/postgresql
The default, which is /tmp, has a few issues associated with it:

One being that it makes it easy for users on the system to spoof a
PostgreSQL server if it's not running, causing applications to connect
to their provided sockets instead of just failing to connect.

Another one is that it makes sandboxing of PostgreSQL and other services
unnecessarily difficult. This is already the case if only PrivateTmp is
used in a systemd service, so in order for such a service to be able to
connect to PostgreSQL, a bind mount needs to be done from /tmp to some
other path, so the service can access it. This pretty much defeats the
whole purpose of PrivateTmp.

We regularily run into issues with this in the past already (one example
would be https://github.com/NixOS/nixpkgs/pull/24317) and with the new
systemd-confinement mode upcoming in
https://github.com/NixOS/nixpkgs/pull/57519, it makes it even more
tedious to sandbox services.

I've tested this change against all the postgresql NixOS VM tests and
they still succeed and I also grepped through the source tree to replace
other occasions where we might have /tmp hardcoded. Luckily there were
very few occasions.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @ocharles, @thoughtpolice, @danbst
2019-03-15 04:52:35 +01:00
Steve Chávez
28d49431c0 tds_fdw: init a 1.0.8
* tds_fdw: init a 1.0.8

* Use pname
2019-03-12 19:38:58 -07:00
R. RyanTM
65898a4ddb postgresqlPackages.pgtap: 0.99.0 -> 1.0.0 (#57360)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgtap/versions
2019-03-13 00:58:12 +02:00
Danylo Hlynskyi
bd5b8df4cd
Merge pull request #56352 from lsix/postgresql_updates
Postgresql updates
2019-03-05 02:39:55 +02:00
Julian Nadeau
1aa13609b6 Use c++ 11 for MySQL 5.7 to fix build in mac (#56384)
https://github.com/NixOS/nixpkgs/issues/49174 shows us the error that we were experiencing.
The last successful build was https://hydra.nixos.org/build/81938220, with the first failing here: https://hydra.nixos.org/build/82083071

The difference between these 2 builds seems to be Protobuf 3.4 being updated to Protobuf 3.6.
Protobuf fails because the newer version uses newer C++ features.

This commit makes MySQL 5.7 use C++ 11 to fix these issues.
2019-02-28 20:59:40 +00:00
Lancelot SIX
a90cf49fa9
postgresql_10: 10.6 -> 10.7
See https://www.postgresql.org/about/news/1920/ for release information.
2019-02-25 15:43:07 +01:00
Lancelot SIX
70a31c2e00
postgresql_9_6: 9.6.11 -> 9.6.12
See https://www.postgresql.org/about/news/1920/ for release information.
2019-02-25 15:42:46 +01:00
Lancelot SIX
74c715e39c
postgresql_9_5: 9.5.15 -> 9.5.16
See https://www.postgresql.org/about/news/1920/ for release information.
2019-02-25 15:42:10 +01:00
Lancelot SIX
d1dd3a1f1a
postgresql_9_4: 9.4.20 -> 9.4.21
See https://www.postgresql.org/about/news/1920/ for release information.
2019-02-25 15:40:42 +01:00
Ryan Mulligan
62b7f5c665
Merge pull request #54988 from thefloweringash/percona-server56
percona-server56: 5.6.35-80.0 -> 5.6.43-84.3
2019-02-24 16:07:12 -08:00
Austin Seipp
b59b5b2052
cockroachdb: 2.1.3 -> 2.1.5
Closes #56192.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-02-22 10:06:47 -06:00
Danylo Hlynskyi
d0d099266e
postgresql: fix regression in NixOS after update to 11.2 (#56146)
ryantm bot updates `psqlSchema` alongside with version: https://github.com/NixOS/nixpkgs/pull/50646, https://github.com/NixOS/nixpkgs/pull/55860
but `psqlSchema` is used to generate `stateDir`. It shouldn't be updated.

Ideally it should be equal to postgresql major version for pg versions,
but we already have deployments in /var/lib/postgresql/11.1. Strange why
nobody complained when it was changed from 11.0 -> 11.1.

I propose do correct naming for PG12+, but status quo for current versions.

Fixes https://github.com/NixOS/nixpkgs/issues/56134
2019-02-21 19:21:08 +02:00
Shea Levy
bb52ff3df8
postgresql: Don't move libs unnecessarily out of $lib.
In particular, when static linking pkgconfig expects libpq.a in $lib
2019-02-18 20:31:09 -05:00
R. RyanTM
e9aeffdc0a postgresql_11: 11.1 -> 11.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/postgresql/versions
2019-02-15 16:02:50 -08:00
R. RyanTM
7b84ac2190 mysql57: 5.7.24 -> 5.7.25
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mysql/versions
2019-02-03 08:55:01 +00:00
John Ericson
c85a8a1fad postgresql: No need to refer to super
self.callPackage works fine for now. If/when that changes, we have a
repo-wide thing to deal with so no reason to do anything now.
2019-02-02 15:56:52 -05:00
Andrew Childs
0536257612 percona-server56: 5.6.35-80.0 -> 5.6.43-84.3 2019-01-31 20:37:57 +09:00
Mario Rodas
2981a7b0e3
pg_topn: 2.2.0 -> 2.2.2 2019-01-30 19:59:21 -05:00
R. RyanTM
23a981a683 monetdb: 11.31.11 -> 11.31.13
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-01-27 23:26:02 -08:00
Jörg Thalheim
ba34ffc665
Merge pull request #54619 from Mic92/remove-wkennington
treewide: remove wkennington as maintainer
2019-01-26 23:37:27 +00:00
Danylo Hlynskyi
4fb8bc8238
postgresql: cleanup postgis (#54396)
postgis: cleanup

Another part of https://github.com/NixOS/nixpkgs/pull/38698, though I did cleanup even more.
Moving docs to separate output should save another 30MB.

I did pin poppler to 0.61 just to be sure GDAL doesn't break again next
time poppler changes internal APIs.
2019-01-26 21:15:43 +02:00
Danylo Hlynskyi
8e985dced0
postgresql: reorganize package and its extensions (#54319)
* postgresql: reorganize package and it's extensions

Extracts some useful parts of https://github.com/NixOS/nixpkgs/pull/38698,
in particular, it's vision that postgresql plugins should be namespaced.
2019-01-26 19:46:57 +02:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Austin Seipp
8cbe6b9ce4 nixpkgs: reorganize the postgresql extensions
This is a backwards compatible change; it mostly puts all the extensions
for postgresql in a common directory to keep them isolated.

It also moves a few things that /were not/ extensions out into other parts of
the filesystem namespace; namely the postgresql_jdbc and psqlodbc libraries
were moved under development/java-modules and development/libraries,
respectively. Because these libraries use the libpq postgresql client drivers,
they're less sensitive to underlying version changes anyway (since the protocol
is relatively stable).

No attributes were renamed or harmed in the creation of this patch.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00
Austin Seipp
73f56ae191 nixpkgs: move postgresql patches into a common directory
This simply makes it easier to browse the PostgreSQL package directory. More to
come.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00
R. RyanTM
2b183a448c pgroonga: 2.1.6 -> 2.1.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgroonga/versions
2019-01-13 09:48:03 +01:00
Lancelot SIX
ce235f70ca postgresql_9_3: drop
Postgresql 9.3 reached end of life on november 11, 2018 (see
https://www.postgresql.org/about/news/1905/)

(Rebase of #52052. Closes #52052.)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-12-31 08:44:57 -06:00
Austin Seipp
f2c99c61cf cockroachdb: 2.1.1 -> 2.1.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-12-28 07:59:48 -06:00
Franz Pletz
61bd0e851e
postgresql: branch 9.3 is not maintained anymore
See https://www.postgresql.org/support/versioning/.
2018-12-17 16:35:48 +01:00
Izorkin
594fc72a32 mysql55: broken on aarch64 2018-12-12 20:07:51 +03:00
Izorkin
6aa42941dc mysql55: 5.5.60 -> 5.5.62 2018-12-12 15:04:24 +03:00
Alexey Shmalko
ef966c1952
Merge pull request #51719 from marsam/postgresql-build-icu-support
postgresql: Build with icu support
2018-12-10 01:52:54 +02:00
Mario Rodas
acc45d8f4f
postgresql: Build with icu support 2018-12-08 00:33:39 -05:00
Jan Tojnar
c5881ec2c9
Merge remote-tracking branch 'upstream/master' into staging 2018-11-30 20:09:45 +01:00
Frederik Rietdijk
1828a5c5ba Merge master into staging-next 2018-11-30 17:46:21 +01:00
Austin Seipp
c90a45a383 cockroachdb: 2.0.0 -> 2.1.1, aarch64 support
This also splits the .bin output to have a separate .man attribute:
previously it contained both.

This also adds provisional support for aarch64-linux, which seems to
build easily. (Full testing will ideally come via NixOS tests later)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-29 15:12:35 -06:00
Frederik Rietdijk
9b81c7e455 Merge staging-next into staging 2018-11-29 09:18:35 +01:00
Frederik Rietdijk
9db2421d1f Merge master into staging-next 2018-11-29 08:12:56 +01:00
Jack Kelly
5987c5c694 postgresql: Remove static libs using host platform extension 2018-11-28 10:49:13 -06:00
Alyssa Ross
c41c195dc5
postgresql: disable parallel building on Darwin
There have been multiple reports of this failing.

Fixes https://github.com/NixOS/nixpkgs/issues/51093.
2018-11-27 20:13:23 +00:00
Domen Kožar
f31ea5a2d5
postgresql: conditionalize systemd (on darwin) 2018-11-27 19:38:54 +00:00
Domen Kožar
d04fedd715
postgresql: Enable systemd integration for 9.6+
This allows, finally, proper detection when postgresql is ready to
accept connections. Until now, it was possible that services depending
on postgresql would fail in a race condition trying to connect
to postgresql.
2018-11-27 19:16:21 +00:00
R. RyanTM
128a446c59 postgresql_11: 11.0 -> 11.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/postgresql/versions
2018-11-26 09:53:36 -06:00
Frederik Rietdijk
0d0d7dcd06 Merge staging-next into staging 2018-11-18 10:41:34 +01:00
Frederik Rietdijk
63c6875f26 Merge master into staging-next 2018-11-18 10:32:12 +01:00
Michael Weiss
939bb2189b monetdb: 11.29.7 -> 11.31.11 2018-11-16 23:33:26 +01:00
Markus Kowalewski
7d279b4780
virtuoso-opensource: add license 2018-11-15 00:13:52 +01:00
Markus Kowalewski
41c619a191
pgtap: add license 2018-11-15 00:13:52 +01:00
Markus Kowalewski
b9c5598b3c
mysql: add licenses 2018-11-15 00:13:46 +01:00
Matthew Bauer
bfbfe941ab treewide: use scons setup hook
Lots of packages can use it. Here is the list:

- jackmix
- klick
- mixx
- nova-filters
- rhvoice
- giv
- mypaint
- swift-im
- bombono
- mapnik
- serf
- nuitka
- pyexiv2
- godot
- hammer
- toluapp
- btanks
- dxx-rebirth
- endless-sky
- globulation
- the-powder-toy
- fceux
- gpsd
- mongodb
- rippled
- mariadb
- lprof
2018-11-13 19:14:10 -06:00
Lancelot SIX
3cbc20e8c4
postgresql_11: 11.0 -> 11.1
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850
2018-11-09 09:42:45 +01:00
Lancelot SIX
575151eb08
postgresql_10: 10.5 -> 10.6
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850
2018-11-09 09:42:45 +01:00
Lancelot SIX
1670fd115d
postgresql_9_6: 9.6.10 -> 9.6.11
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850
2018-11-09 09:42:44 +01:00
Lancelot SIX
f703ea62a0
postgresql_9_5: 9.5.14 -> 9.5.15
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850
2018-11-09 09:42:44 +01:00
Lancelot SIX
882c3b529c
postgresql_9_4: 9.4.19 -> 9.4.20
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850
2018-11-09 09:42:44 +01:00
Lancelot SIX
5d37d63388
postgresql_9_3: 9.3.24 -> 9.3.25
See https://www.postgresql.org/about/news/1905/ for release information.
Fixes CVE-2018-16850
2018-11-09 09:42:37 +01:00
Austin Seipp
4569ee7d74 plv8: unbreak build, bump to version 2.3.8
ee58a5b30d broke the plv8 build because it
upgraded the v8_6_x expression everywhere to the 6.9 branch, which came
with API changes. Notably, it seems plv8 only supports up-to v8 6.4.x at
this time.

This keeps a copy of the plv8_6_x expression inside the same directory
as the other v8 versions (so patches, etc are easy to apply), but it is
not exposed to the top-level of all-packages.nix.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-04 08:24:19 -06:00
Austin Seipp
b0f7c86094 timescaledb: fix license (Apache 2.0, not PostgreSQL)
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-04 07:30:23 -06:00
Austin Seipp
800184df21 tsearch_extras: 0.3 -> 0.4
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-03 19:53:52 -05:00
Austin Seipp
d8abcdc1de pg_topn: 2.0.2 -> 2.2.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-03 19:53:46 -05:00
Austin Seipp
a713251348 timescaledb: 0.11.0 -> 1.0.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-03 19:49:00 -05:00
Austin Seipp
cecee87f39 pg_repack: reindent to 2-spaces
More or less all the Postgres code uses this, so it's nice to be
consistent.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-03 19:46:07 -05:00
Austin Seipp
b5be88c97a pg_hll: 2.10.2-9af41684 -> 2.12
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-03 19:44:24 -05:00
Austin Seipp
648f4a2769 nixpkgs: tidy up pgjwt package
This makes pgjwt take a dummy 'postgresql' argument, which it does not *need*
in the buildInputs (it is purely a SQL extension with no C code). However, this
argument will be necessary for an upcoming change that will parameterize the
extensions over a particular PostgreSQL version.

It also does some tiny cleanup, setting a null build phase.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-02 13:52:48 -05:00
Austin Seipp
2266f2014b nixos/postgresql: add myself as maintainer
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-02 13:52:33 -05:00
Alyssa Ross
91c746cacc
postgresql_11: init at 11.0 2018-10-30 14:33:35 +00:00
Alyssa Ross
c6c7d55790
postgresql*: use underscores in version numbers 2018-10-30 14:32:21 +00:00
Alyssa Ross
9594b59f13
postgresql10: rename from postgresql100 2018-10-30 12:40:20 +00:00
R. RyanTM
5fd8de8137 pgroonga: 2.1.3 -> 2.1.6 (#49205)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgroonga/versions
2018-10-27 20:14:23 -04:00
R. RyanTM
d9423ee446 mysql57: 5.7.23 -> 5.7.24 (#49221)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mysql/versions
2018-10-27 09:50:57 -04:00
R. RyanTM
d2a137abb5 pg_repack: 1.4.3 -> 1.4.4
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
2018-10-24 15:22:43 +02:00
Frederik Rietdijk
89349fdae9 Merge staging-next into staging 2018-10-17 08:36:28 +02:00
florianjacob
98e5a0f9f4 mariadb.connector-c: 2.3.6 -> 2.3.7 (#48078) 2018-10-16 09:04:37 +02:00
Jörg Thalheim
7e5e9429d0
Merge pull request #48375 from r-ryantm/auto-update/pg_cron
pg_cron: 1.0.2 -> 1.1.2
2018-10-15 23:22:26 +01:00
Jörg Thalheim
af496bade8
Merge pull request #48474 from c0bw3b/pkg/pgjdbc
postgresql-jdbc: 42.2.2 -> 42.2.5
2018-10-15 22:51:21 +01:00
Renaud
ed6e251ff0
sqlite-jdbc: 3.20.0 -> 3.25.2 2018-10-15 20:45:50 +02:00
Renaud
adf9c5080f
postgresql-jdbc: 42.2.2 -> 42.2.5
¤ set read-only permissions on .jar at install (mode 0444)
¤ license is now BSD 2-clause
2018-10-15 19:34:24 +02:00
R. RyanTM
170c6104b6 pg_cron: 1.0.2 -> 1.1.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_cron/versions
2018-10-13 21:36:56 -07:00
Yurii Izorkin
963dcd935d mariadb galera: 25.3.23 -> 25.3.24 (#47905) 2018-10-06 16:03:15 +02:00
R. RyanTM
d1b8d73464 pgroonga: 2.0.9 -> 2.1.3 (#46984)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgroonga/versions
2018-09-29 20:54:42 +02:00
R. RyanTM
d57b9eb6d6 pgtap: 0.98.0 -> 0.99.0 (#46980)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgtap/versions
2018-09-23 15:09:37 +02:00
R. RyanTM
9064d9db00 cstore_fdw: 1.6.1 -> 1.6.2 (#46291)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/cstore_fdw/versions
2018-09-18 18:26:08 +02:00
John Ericson
440ac01e5a
postgresql: Fix cross compilation
b1548ce080 dropped the C compiler prefix
2018-08-20 10:12:18 +02:00
Vladimír Čunát
153a19df05
Merge branch 'master' into staging-next
Hydra: ?compare=1474536
2018-08-20 09:15:33 +02:00
R. RyanTM
aacb2840d1 pgbouncer: 1.8.1 -> 1.9.0 (#45168)
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.
2018-08-19 22:47:48 +02:00
R. RyanTM
7fa8623d11 pgroonga: 2.0.6 -> 2.0.9 (#45167)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgroonga/versions.
2018-08-19 22:47:22 +02:00
Vladimír Čunát
b1548ce080
postgresql*: fixup build by a side-step
https://github.com/NixOS/nixpkgs/pull/44767#issuecomment-414066070
2018-08-19 09:07:00 +02:00
Orivej Desh
65663f883c msgpack: rename from libmsgpack
The project does not use the name "libmsgpack". It variously uses "msgpack" and
"msgpack-c", and "msgpackc" for the name of the library.
2018-08-18 23:19:54 +00:00
Andreas Rammhold
5da1d01bf2
mariadb: 10.2.16 -> 10.2.17 (#45199)
Bump to latest stable version of the 10.2.x branch. Besides many bug fixes the
following security related issues have been fixed:
 - CVE-2018-3060
 - CVE-2018-3064
 - CVE-2018-3063
 - CVE-2018-3058
 - CVE-2018-3066

Release notes: https://mariadb.com/kb/en/library/mariadb-10217-release-notes/
2018-08-18 12:14:13 +02:00
Vladimír Čunát
c13bbda5b3
Merge #45146 into staging: postgresql security updates 2018-08-18 08:56:21 +02:00
Vladimír Čunát
cbabebcc2e
Merge branch 'master' into staging-next
Hydra: ?compare=1473892
2018-08-17 13:45:21 +02:00
Andreas Rammhold
5de601e0d2
postgresql93: 9.3.23 -> 9.3.24
Fixes CVE-2018-10915 & CVE-2018-10925

Release notes: https://www.postgresql.org/docs/current/static/release-9-3-24.html
2018-08-16 21:52:37 +02:00
Andreas Rammhold
2abb00e249
postgresql94: 9.4.18 -> 9.4.19
Fixes CVE-2018-10915 & CVE-2018-10925

Release notes: https://www.postgresql.org/docs/current/static/release-9-4-19.html
2018-08-16 21:52:37 +02:00