Opened 13 years ago
Closed 13 years ago
#1521 closed enhancement (worksforme)
[RASTER] ST_MapAlgebraExpr : do not allow writing to the database from the expression
Reported by: | strk | Owned by: | pracine |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | raster | Version: | master |
Keywords: | Cc: |
Description
SPI_execute should be called with read_only set to TRUE, to avoid accidentally writing to the DB from an expression.
Change History (2)
comment:1 by , 13 years ago
Type: | defect → enhancement |
---|
comment:2 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I see your point, and I actually tend to agree. Let's keep it dangerous !
Note:
See TracTickets
for help on using tickets.
But what if a user wants to overtly write to the DB from the expression? I'd rather let the user have the responsibility of knowing their expression rather than adding a constraint.