Commit 5c500392 authored by Regina Obe's avatar Regina Obe

Revise rt_union test so passes equally on PostgreSQL 10 and lower. Lower...

Revise rt_union test so passes equally on PostgreSQL 10 and lower.  Lower calls SRF for each column, triggering the same error notice multiple times, PostgreSQL 10 called SRF only once. Revised syntax so old versions call SRF only once.

Closes #3763 for trunk PostGIS 2.4.0 

git-svn-id: http://svn.osgeo.org/postgis/trunk@15405 b70326c6-7e19-0410-871a-916f4a2858ee
parent b76ffbd4
Pipeline #8554406 passed with stage
in 18 minutes and 16 seconds
......@@ -143,13 +143,13 @@ INSERT INTO raster_union_out
SELECT
uniontype,
x,
y,
val
(pp).x,
(pp).y,
(pp).val
FROM (
SELECT
uniontype,
(ST_PixelAsPoints(rast)).*
(ST_PixelAsPoints(rast)) AS pp
FROM raster_union_out
) foo
ORDER BY uniontype, y, x;
......
......@@ -53,9 +53,6 @@ SUM|3|2|2
SUM|2|3|2
SUM|3|3|2
NOTICE: No pixels found for band 1
NOTICE: No pixels found for band 1
NOTICE: No pixels found for band 1
NOTICE: No pixels found for band 1
COUNT|1|1|1
COUNT|2|1|1
COUNT|3|1|1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment