[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.2-17-g996158ece
git at osgeo.org
git at osgeo.org
Fri Aug 12 09:40:31 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-3.2 has been updated
via 996158ece01c2d29533d5a268a845f6a5df28957 (commit)
from 9ceb6968ef780bc7d56e4e46ecf5747f95c2e619 (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 996158ece01c2d29533d5a268a845f6a5df28957
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 3.2 branch (3.2.3dev)
diff --git a/utils/create_unpackaged.pl b/utils/create_unpackaged.pl
index 60e5ea171..b17de87f7 100755
--- a/utils/create_unpackaged.pl
+++ b/utils/create_unpackaged.pl
@@ -161,10 +161,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