Opened 14 years ago

Closed 14 years ago

#742 closed defect (fixed)

raster should not rely on function names for operators

Reported by: robe Owned by: jorgearevalo
Priority: blocker Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

Okay I see why raster is failing on my gserialized install. Nothing wrong with my install. It is because raster is relying on the actual underlying function names rather than the operator name and since the non-gserialized and gserialized have different function names, this poses a problem.

Here are the errors I get when gserialized is enabled.

 ERROR:  function geometry_overleft(geometry, geometry) does not exist
LINE 3:     AS 'select geometry_overleft($1::geometry, $2::geometry)...
                       ^

Get the same error for geometry_overright, geometry_overright, geometry_right, geometry_overabove etc.

Note that in gserialized case, the underlying operators are called geometry_2d_overleft etc.

Seems the solution might be to change raster code to use the operators instead like

$1::geometry &< $2::geometry

Change History (2)

comment:1 by jorgearevalo, 14 years ago

Owner: changed from pracine to jorgearevalo
Status: newassigned

Commited in r6547. Please check it.

comment:2 by robe, 14 years ago

Resolution: fixed
Status: assignedclosed

Jorge, That worked, which allowed me to see another issue. I'll post that separately since I'm not sure who best to fix.

Note: See TracTickets for help on using tickets.