Ticket #177: Throw fValidationException on improper value for decimal

Reporter: Patrick Type: enhancement Opened: 1 year ago Status: closed
Assigned to: wbond Priority: major Modified: 4 months ago Resolution: fixed

When passing a value too large for (example) decimal(8,2) flourish throws an fSQLException - but should it catch the error and throw a validation error instead?

Happy vacation!

PostgreSQL error (ERROR: numeric field overflow DETAIL: A field with precision 16, scale 2 must round to an absolute value less than 1014.)

(passed a gigantic number just for testing: 92168519681665498484.00)

Attachments

History

Reply 04/23/09 09:41:47 changed by wbond

  • status changed from new to assigned.
  • type changed from defect to enhancement.

This is not currently supported, but is a reasonable feature request

Reply 03/17/10 23:59:52 changed by wbond

  • status changed from assigned to closed.
  • resolution set to fixed.

This is fixed in r787

Edit the Ticket



please register or log in to allow for editing your comment

Action