Opened 12 years ago

Closed 12 years ago

#1557 closed defect (fixed)

[raster] ST_MapAlgebraExpr advertising X and Y as float8 types

Reported by: strk Owned by: pracine
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

The prepared statement implementation is pretending that all substituted keywords are float8 types. This in turns break some usages. My expression that used to work is broken, in particular.

X and Y are integer, will always be integers. Advertising as such should help. We know what goes were, so we can as well hard-code integers for X/Y.

Change History (6)

comment:1 by strk, 12 years ago

Resolution: fixed
Status: newclosed

Fixed by r9112

comment:2 by Bborie Park, 12 years ago

Resolution: fixed
Status: closedreopened

Reopened as 2-raster ST_MapAlgebraExpr has same problem.

comment:3 by Bborie Park, 12 years ago

Resolution: fixed
Status: reopenedclosed

Fixed for 2-raster ST_MapAlgebraExpr in r9115

comment:4 by strk, 12 years ago

Resolution: fixed
Status: closedreopened

Broken again by r9137

comment:5 by pracine, 12 years ago

Summary: ST_MapAlgebraExpr advertising X and Y as float8 types[raster] ST_MapAlgebraExpr advertising X and Y as float8 types

comment:6 by dzwarg, 12 years ago

Resolution: fixed
Status: reopenedclosed

Reverted changes from r9137. Closed again in r9185.

Note: See TracTickets for help on using tickets.