Commit graph

397 commits

Author SHA1 Message Date
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
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
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 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
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
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
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
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
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
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
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
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
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
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
Mario Rodas 2981a7b0e3
pg_topn: 2.2.0 -> 2.2.2 2019-01-30 19:59:21 -05: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
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
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
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
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
Markus Kowalewski 41c619a191
pgtap: add license 2018-11-15 00:13:52 +01: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 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
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
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