Opened 12 years ago

Closed 12 years ago

#2141 closed enhancement (fixed)

[raster] Report _add_raster_constraint violation error details

Reported by: mloskot Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.0.3
Component: raster Version: 2.0.x
Keywords: history Cc:

Description

Currently, _add_raster_constraint functiond does not report any details about the reason of skipped constraint. It makes it difficult to diagnose constraint problems.

For example, without replacing the blocksize constraint conditions (see patch for #2122), the blocksize constraint is silently skipped with no detailed reason provided.

Attachments (1)

_add_raster_constraint_violation_details.patch (763 bytes ) - added by mloskot 12 years ago.
Add SQLSTATE details to raised notice. -- Alternatively, add WHEN SQLSTATE '23514' THEN to explicitly report check_violation.

Download all attachments as: .zip

Change History (3)

by mloskot, 12 years ago

Add SQLSTATE details to raised notice. -- Alternatively, add WHEN SQLSTATE '23514' THEN to explicitly report check_violation.

comment:1 by Bborie Park, 12 years ago

Status: newassigned

comment:2 by Bborie Park, 12 years ago

Keywords: history added
Resolution: fixed
Status: assignedclosed
Type: defectenhancement
Version: trunk2.0.x

Added to 2.0 in r10818. Added to -trunk in r10819

Note: See TracTickets for help on using tickets.