[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-101-g956ffd5f9
git at osgeo.org
git at osgeo.org
Fri Sep 16 11:28:38 PDT 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 956ffd5f949c8dbef9ba14f70907b50673c403c2 (commit)
from 263194901431dadce5fcd921e250298c04b46a0a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 956ffd5f949c8dbef9ba14f70907b50673c403c2
Author: Sandro Santilli <strk at kbt.io>
Date: Fri Sep 16 20:28:11 2022 +0200
Make sure to install upgrade paths to the correct target PostgreSQL
diff --git a/extensions/upgrade-paths-rules.mk b/extensions/upgrade-paths-rules.mk
index 7ae0d4485..e94aa7e04 100644
--- a/extensions/upgrade-paths-rules.mk
+++ b/extensions/upgrade-paths-rules.mk
@@ -2,6 +2,8 @@ EXTDIR=$(DESTDIR)$(datadir)/$(datamoduledir)
TAG_UPGRADE=$(EXTENSION)--TEMPLATED--TO--ANY.sql
+PG_SHAREDIR=$(shell $(PG_CONFIG) --sharedir)
+
install: install-upgrade-paths
# The "next" lines are a cludge to allow upgrading between different
@@ -21,7 +23,11 @@ install-upgrade-paths: tag-as-any
$(INSTALL_DATA) sql/$${tpl} "$(EXTDIR)/$${tpl}"; \
$(INSTALL_DATA) "sql/$(TAG_UPGRADE)" "$(EXTDIR)/$(TAG_UPGRADE)"; \
ln -fs "$(TAG_UPGRADE)" $(EXTDIR)/$(EXTENSION)--$(EXTVERSION)--ANY.sql; \
- $(abs_topbuilddir)/loader/postgis install-extension-upgrades $(UPGRADEABLE_VERSIONS)
+ $(abs_topbuilddir)/loader/postgis \
+ $(abs_topbuilddir)/loader/postgis \
+ install-extension-upgrades \
+ --pg_sharedir $(PG_SHAREDIR) \
+ $(UPGRADEABLE_VERSIONS)
all: sql/$(TAG_UPGRADE)
-----------------------------------------------------------------------
Summary of changes:
extensions/upgrade-paths-rules.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list