Opened 9 years ago

Closed 9 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: main
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 Changed 9 years ago by strk

Resolution: fixed
Status: newclosed

Fixed by r9112

comment:2 Changed 9 years ago by Bborie Park

Resolution: fixed
Status: closedreopened

Reopened as 2-raster ST_MapAlgebraExpr has same problem.

comment:3 Changed 9 years ago by Bborie Park

Resolution: fixed
Status: reopenedclosed

Fixed for 2-raster ST_MapAlgebraExpr in r9115

comment:4 Changed 9 years ago by strk

Resolution: fixed
Status: closedreopened

Broken again by r9137

comment:5 Changed 9 years ago by pracine

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

comment:6 Changed 9 years ago by dzwarg

Resolution: fixed
Status: reopenedclosed

Reverted changes from r9137. Closed again in r9185.

Note: See TracTickets for help on using tickets.