[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-795-g6c13b7e03
git at osgeo.org
git at osgeo.org
Sat May 7 00:23:53 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 6c13b7e03588fc4df5e3282b40356e68eea31100 (commit)
from 4a3f85974ba69a4ed790e1c55b4f8b44b5ff07fe (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 6c13b7e03588fc4df5e3282b40356e68eea31100
Author: Regina Obe <lr at pcorp.us>
Date: Sat May 7 03:22:49 2022 -0400
Mark ST_Letters as Parallel Safe. Add test for ST_Letters
diff --git a/postgis/postgis_letters.sql b/postgis/postgis_letters.sql
index 683d2ca1c..5d924c003 100644
--- a/postgis/postgis_letters.sql
+++ b/postgis/postgis_letters.sql
@@ -146,4 +146,4 @@ BEGIN
END;
$$
LANGUAGE 'plpgsql'
-IMMUTABLE _COST_MEDIUM;
+IMMUTABLE _COST_MEDIUM PARALLEL SAFE;
diff --git a/regress/core/letters.sql b/regress/core/letters.sql
new file mode 100644
index 000000000..fdfcf1a7b
--- /dev/null
+++ b/regress/core/letters.sql
@@ -0,0 +1 @@
+SELECT ST_Area(ST_Letters('10'));
diff --git a/regress/core/letters_expected b/regress/core/letters_expected
new file mode 100644
index 000000000..1d0ee4c42
--- /dev/null
+++ b/regress/core/letters_expected
@@ -0,0 +1 @@
+3820.055
diff --git a/regress/core/tests.mk.in b/regress/core/tests.mk.in
index 9582337c2..ed0555cef 100644
--- a/regress/core/tests.mk.in
+++ b/regress/core/tests.mk.in
@@ -56,6 +56,7 @@ TESTS += \
$(topsrcdir)/regress/core/in_encodedpolyline \
$(topsrcdir)/regress/core/iscollection \
$(topsrcdir)/regress/core/legacy \
+ $(topsrcdir)/regress/core/letters \
$(topsrcdir)/regress/core/long_xact \
$(topsrcdir)/regress/core/lwgeom_regress \
$(topsrcdir)/regress/core/measures \
-----------------------------------------------------------------------
Summary of changes:
postgis/postgis_letters.sql | 2 +-
regress/core/letters.sql | 1 +
regress/core/letters_expected | 1 +
regress/core/tests.mk.in | 1 +
4 files changed, 4 insertions(+), 1 deletion(-)
create mode 100644 regress/core/letters.sql
create mode 100644 regress/core/letters_expected
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list