Subject Re: [Firebird-Architect] proposal for new constraint syntax
Author Alexander Peshkoff
On Saturday 01 May 2010 15:12:22 Dimitry Sibiryakov wrote:
> 01.05.2010 10:15, theo_pana wrote:
> > what about to add a custom error message for each constraint violation
> > instead of default system generated
>
> You are welcome. Just do it and public the patch.

Take into an account that for some constraints more than single text may be
desired. For example, violation of FK due to removal of record from master
table can probably produce another message than adding a record to detail
table with wrong key value.