[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0beta2-22-g322daf2ad
git at osgeo.org
git at osgeo.org
Thu Jul 28 23:33:18 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 322daf2ad0ad0ffe8fe250a572fe495235649500 (commit)
from b9f1e10befad02207cf87b46ef3f85591e25ee4c (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 322daf2ad0ad0ffe8fe250a572fe495235649500
Author: Sandro Santilli <strk at kbt.io>
Date: Fri Jul 29 08:28:15 2022 +0200
Survive upgrades adding operator class (and other object kinds)
Closes #5187
diff --git a/utils/create_unpackaged.pl b/utils/create_unpackaged.pl
index 60e5ea171..d884d76e7 100755
--- a/utils/create_unpackaged.pl
+++ b/utils/create_unpackaged.pl
@@ -162,9 +162,10 @@ WHEN object_not_in_prerequisite_state THEN
END IF;
WHEN
undefined_function
+ 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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list