Subject | Re: [Firebird-Architect] Domains in PSQL - constraints |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2007-01-09T01:49:35Z |
Martijn Tonies wrote:
Adriano
>> So I propose we defer variables/parameters constraints to first read,Yes, constraints and default is what are missing.
>> but of course checking in assignments too.
>>
>
> Sounds very logical.
>
>
>> So you'll get an error if you read a not-nullable variable/parameter
>> that is null or try to assign null to it, but don't get error if you
>> declare and not use it.
>>
>
> Sounds fair to me.
>
>
>> For output parameters, you get error if you try to exit/suspend the
>> procedure with nulls on output parameters.
>>
>> Comments?
>>
>
> Question: this is for the true usage of domains in PSQL then?
>
> If so: good job!Thanks. :-)
>
Adriano