Ticket #1557 (closed defect: fixed)

Opened 17 months ago

Last modified 16 months ago

[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: trunk
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

Changed 17 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

Fixed by r9112

Changed 17 months ago by dustymugs

  • status changed from closed to reopened
  • resolution fixed deleted

Reopened as 2-raster ST_MapAlgebraExpr has same problem.

Changed 17 months ago by dustymugs

  • status changed from reopened to closed
  • resolution set to fixed

Fixed for 2-raster ST_MapAlgebraExpr in r9115

Changed 17 months ago by strk

  • status changed from closed to reopened
  • resolution fixed deleted

Broken again by r9137

Changed 17 months ago by pracine

  • summary changed from ST_MapAlgebraExpr advertising X and Y as float8 types to [raster] ST_MapAlgebraExpr advertising X and Y as float8 types

Changed 16 months ago by dzwarg

  • status changed from reopened to closed
  • resolution set to fixed

Reverted changes from r9137. Closed again in r9185.

Note: See TracTickets for help on using tickets.