Subject | RE: [Firebird-Architect] Domains and NOT NULL in PSQL |
---|---|
Author | Leyne, Sean |
Post date | 2006-07-12T19:47:28Z |
Adriano,
I'm not so sure I like the inheritance of the "not null" properties of
the DOMAIN.
Does that mean that I will get a runtime error if a null is assigned to
the value inside the SP? Or, only if a null is passed/returned from the
SP?
What if the change to the domain means that the SP is not recompilable?
What happens if the SP source has been deleted, only the BLR is
available?
Could this "invalidation" be used to allow for SP's to be dropped
completely?
Sean
I'm not so sure I like the inheritance of the "not null" properties of
the DOMAIN.
Does that mean that I will get a runtime error if a null is assigned to
the value inside the SP? Or, only if a null is passed/returned from the
SP?
> When a domain change, should be necessary to invalidate the procedureHow do you propose to mark the procedure as "invalidated"?
> cache.
> Could be done using the stored dependencies.
What if the change to the domain means that the SP is not recompilable?
What happens if the SP source has been deleted, only the BLR is
available?
Could this "invalidation" be used to allow for SP's to be dropped
completely?
Sean