diff options
author | adam <adam@pkgsrc.org> | 2020-10-18 09:24:02 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-10-18 09:24:02 +0000 |
commit | ea5f7d2234235eb31891fbd66dff8a3d40ae07bd (patch) | |
tree | b6fc055da0e3940fd753ba32b579400339cb83c9 /mk | |
parent | 5356b71d623e6a9b52e045131f108b472bdd533a (diff) | |
download | pkgsrc-ea5f7d2234235eb31891fbd66dff8a3d40ae07bd.tar.gz |
postgresql13: added version 13.0
PostgreSQL 13 contains many new features and enhancements, including:
* Space savings and performance gains from de-duplication of B-tree index entries
* Improved performance for queries that use aggregates or partitioned tables
* Better query planning when using extended statistics
* Parallelized vacuuming of indexes
* Incremental sorting
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 20af99f70d8..a34e955c63a 100644 --- a/mk/pgsql.buildlink3.mk +++ b/mk/pgsql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pgsql.buildlink3.mk,v 1.52 2020/07/27 00:17:12 gdt Exp $ +# $NetBSD: pgsql.buildlink3.mk,v 1.53 2020/10/18 09:24:02 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?= 12 -PGSQL_VERSIONS_ACCEPTED?= 12 11 10 96 95 +PGSQL_VERSIONS_ACCEPTED?= 13 12 11 10 96 95 # 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.13.dylib) +_PGSQL_VERSION_13_INSTALLED= yes +. endif . if exists(${LOCALBASE}/lib/libecpg.6.12.dylib) _PGSQL_VERSION_12_INSTALLED= yes . endif @@ -56,6 +59,9 @@ _PGSQL_VERSION_96_INSTALLED= yes _PGSQL_VERSION_95_INSTALLED= yes . endif .else +. if exists(${LOCALBASE}/lib/libecpg.so.6.13) +_PGSQL_VERSION_13_INSTALLED= yes +. endif . if exists(${LOCALBASE}/lib/libecpg.so.6.12) _PGSQL_VERSION_12_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} == "12" +.if ${_PGSQL_VERSION} == "13" +PGSQL_TYPE= postgresql13-client +PGPKGSRCDIR= ../../databases/postgresql13-client +.elif ${_PGSQL_VERSION} == "12" PGSQL_TYPE= postgresql12-client PGPKGSRCDIR= ../../databases/postgresql12-client .elif ${_PGSQL_VERSION} == "11" |