#953 closed defect (fixed)
Update clause should support data coming from the decode operation
Reported by: | Alex Dumitru | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 9.1 |
Component: | undecided | Version: | development |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
The following query fails due to the type check:
UPDATE MyCoverage SET MyCoverage[0:1199,0:1199] ASSIGN shift(decode($1), [0,0]) WHERE oid(MyCoverage) = 513
As decode cannot provide the type of its contents before evaluation, checkType will fail.
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 9 years ago
Milestone: | → 9.1 |
---|
Note:
See TracTickets
for help on using tickets.
Are you sure, seems to work fine: