diff options
author | adam <adam@pkgsrc.org> | 2018-10-23 16:02:51 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-10-23 16:02:51 +0000 |
commit | d42347056c6277ef9953c792c3fe6f34929b1084 (patch) | |
tree | 4419f05b9c69ea12e46c20a802e97c9775ae78c9 /mk | |
parent | a8254bfd168f51b9a0720da2aa1da6460990c795 (diff) | |
download | pkgsrc-d42347056c6277ef9953c792c3fe6f34929b1084.tar.gz |
postgresql11: added version 11.0
PostgreSQL 11 provides users with improvements to overall performance of the database system, with specific enhancements associated with very large databases and high computational workloads. Further, PostgreSQL 11 makes significant improvements to the table partitioning system, adds support for stored procedures capable of transaction management, improves query parallelism and adds parallelized data definition capabilities, and introduces just-in-time (JIT) compilation for accelerating the execution of expressions in queries.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/pgsql.buildlink3.mk | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/mk/pgsql.buildlink3.mk b/mk/pgsql.buildlink3.mk index d8c0536fb0c..7d8514042b4 100644 --- a/mk/pgsql.buildlink3.mk +++ b/mk/pgsql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pgsql.buildlink3.mk,v 1.47 2018/05/21 08:07:49 adam Exp $ +# $NetBSD: pgsql.buildlink3.mk,v 1.48 2018/10/23 16:02:51 adam Exp $ # # User-settable variables: # @@ -25,7 +25,7 @@ _SYS_VARS.pgsql= PG_LIB_EXT PGSQL_TYPE PGPKGSRCDIR .include "../../mk/bsd.prefs.mk" PGSQL_VERSION_DEFAULT?= 95 -PGSQL_VERSIONS_ACCEPTED?= 10 96 95 94 93 +PGSQL_VERSIONS_ACCEPTED?= 11 10 96 95 94 93 # transform the list into individual variables .for pv in ${PGSQL_VERSIONS_ACCEPTED} @@ -40,6 +40,9 @@ PG_LIB_EXT=so # check what is installed .if ${OPSYS} == "Darwin" +. if exists(${LOCALBASE}/lib/libecpg.6.11.dylib) +_PGSQL_VERSION_11_INSTALLED= yes +. endif . if exists(${LOCALBASE}/lib/libecpg.6.10.dylib) _PGSQL_VERSION_10_INSTALLED= yes . endif @@ -56,6 +59,9 @@ _PGSQL_VERSION_94_INSTALLED= yes _PGSQL_VERSION_93_INSTALLED= yes . endif .else +. if exists(${LOCALBASE}/lib/libecpg.so.6.11) +_PGSQL_VERSION_11_INSTALLED= yes +. endif . if exists(${LOCALBASE}/lib/libecpg.so.6.10) _PGSQL_VERSION_10_INSTALLED= yes . endif @@ -108,7 +114,10 @@ _PGSQL_VERSION= ${_PGSQL_VERSION_FIRSTACCEPTED} .endif # set variables for the version we decided to use: -.if ${_PGSQL_VERSION} == "10" +.if ${_PGSQL_VERSION} == "11" +PGSQL_TYPE= postgresql11-client +PGPKGSRCDIR= ../../databases/postgresql11-client +.elif ${_PGSQL_VERSION} == "10" PGSQL_TYPE= postgresql10-client PGPKGSRCDIR= ../../databases/postgresql10-client .elif ${_PGSQL_VERSION} == "96" |