Subject | Re: [Firebird-Architect] Invalidating Objects was: Statement Cache |
---|---|
Author | Ann W. Harrison |
Post date | 2005-08-31T18:09:06Z |
Dmitry Yemanov wrote:
change introduced.
itself is independent of record formats. The philosophy of the blr
language is to define the desired type in message and throw conversion
errors if the stored type cannot be coerced into the requested type. So
a procedure created when a field was a string should continue to work
even if that field was changed to something else. As above, if the
change goes from a less restrictive type to a more restrictive type,
then give conversion errors.
Regards,
Ann
>Sean, would that address your concerns?
> To answer this for sure, we need to implement ALTER for all objects depended
> on (including views, computed columns, etc). This is what people miss a lot.
>I guess I'd allow any change and live with the problems a really stupid
> A question - should ALTER PROCEDURE succeed if we change a VARCHAR parameter
> to be INT? What about DOUBLE -> NUMERIC(18, 2)?
change introduced.
> The same for table columns,Formats get brought into statements during blr compilation. The blr
> as procedure's BLR references them without format, AFAIR. This is the most
> desirable reason for metadata invalidation.
>
itself is independent of record formats. The philosophy of the blr
language is to define the desired type in message and throw conversion
errors if the stored type cannot be coerced into the requested type. So
a procedure created when a field was a string should continue to work
even if that field was changed to something else. As above, if the
change goes from a less restrictive type to a more restrictive type,
then give conversion errors.
Regards,
Ann