Opened 11 years ago

Closed 11 years ago

#2789 closed defect (fixed)

regression test in raster not compatible with pgsql 9.0

Reported by: pramsey Owned by: dustymugs
Priority: low Milestone: PostGIS 2.1.4
Component: raster Version: 2.1.x
Keywords: Cc:

Description

We promise compatibility back to 9.0 with 2.1, but you cannot regress it, because a test calls a function that does not exist, right():

--- rt_utility_expected 2014-06-24 13:54:32.000000000 -0700
+++ /tmp/pgis_reg/test_41_out   2014-06-27 11:08:17.000000000 -0700
@@ -37,5 +37,4 @@
     band 3 of pixtype 16BSI is in-db with no NODATA value
 Skewed raster of 10x10 pixels has 1 band and extent of BOX(0 -10,10 0.0001)
     band 1 of pixtype 8BUI is in-db with NODATA value of 0
-NOTICE:  Could not find raster band of index 1 when getting band path. Returning NULL
-bandpath1|
+ERROR:  function right(text, integer) does not exist at character 99

Change History (2)

comment:1 by dustymugs, 11 years ago

Status: newassigned

People still use 9.0? ;-)

comment:2 by pramsey, 11 years ago

Resolution: fixed
Status: assignedclosed

With 2.1, they are allowed… I just replaced right() with trim(), I hope I did no damage, r12687

Note: See TracTickets for help on using tickets.