Commit Graph

373 Commits

Author SHA1 Message Date
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
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
Franz Pletz
290cfc767c
postgresql: fix systemd support
See comments in #61581. versionAtLeast was called with arguments in the
wrong order.
2019-07-23 05:08:28 +02:00
Niklas Hambüchen
943baed788 postgresql: Make systemd support configurable. See #61580. (#61581)
On by default, as was before.

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

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

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

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