[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. 2.5.7-21-g84cc88cbc
git at osgeo.org
git at osgeo.org
Fri Aug 12 09:54:15 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, stable-2.5 has been updated
via 84cc88cbc633526deaab787325af63a70ad64d67 (commit)
from 8c63bb614b0515df955164b7d96eb992858b376a (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 84cc88cbc633526deaab787325af63a70ad64d67
Author: Sandro Santilli <strk at kbt.io>
Date: Fri Aug 12 18:36:18 2022 +0200
Survive upgrades adding operator class (and other object kinds)
References #5187 in 2.5 branch (2.5.8dev)
diff --git a/utils/create_unpackaged.pl b/utils/create_unpackaged.pl
index 3017d92e4..ebed0eb6d 100755
--- a/utils/create_unpackaged.pl
+++ b/utils/create_unpackaged.pl
@@ -148,10 +148,11 @@ WHEN object_not_in_prerequisite_state THEN
RAISE EXCEPTION '%', SQLERRM;
END IF;
WHEN
- undefined_function
+ undefined_function OR
+ undefined_object
-- TODO: handle more exceptions ?
THEN
- RAISE NOTICE 'undefined function $obj';
+ RAISE NOTICE 'Object $obj does not exist yet';
WHEN OTHERS THEN
RAISE EXCEPTION 'Trying to add $obj to $extname, got % (%)', SQLERRM, SQLSTATE;
END;
-----------------------------------------------------------------------
Summary of changes:
utils/create_unpackaged.pl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list