[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.6-16-g40c8f25a0
git at osgeo.org
git at osgeo.org
Fri Aug 12 10:02:13 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.0 has been updated
via 40c8f25a0fe041427b111ed133d573b553e1ce53 (commit)
from 38f80de1b342a7f62419224cb6805dcc513a4638 (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 40c8f25a0fe041427b111ed133d573b553e1ce53
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.1 branch (3.1.7dev)
diff --git a/utils/create_unpackaged.pl b/utils/create_unpackaged.pl
index 1baac4bee..c3afcaac3 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