Subject | RE: [Firebird-Architect] Feature Request: Domains in SP & Triggers. |
---|---|
Author | Claudio Valderrama C. |
Post date | 2004-10-11T09:23:04Z |
Dimitry Sibiryakov wrote:
load. You just have to define a trigger in a sys table, close all
connections to it (the server detaches it) and reconnect. The user trigger
on the sys table won't execute because it's not loaded.
advantage of high level tools to change system tables directly and later
come whining that their db doesn't work correctly.
:-)
C.
> That's sad. And it became even more sad because system tables don'tNot sure if they will survive (didn't check) but even if they do, they won't
> have PKs. It means that I can't prevent user from dropping table that
> my application depends on. Can't create FK to system table. Not sure
> about triggers... If I create triggers for system table will they
> survive during backup/restore?
load. You just have to define a trigger in a sys table, close all
connections to it (the server detaches it) and reconnect. The user trigger
on the sys table won't execute because it's not loaded.
> IBReplicator is an example of application that suffer from thisWell, that's not that bad if you consider that we have users that take
> "feature". It'll crash if someone drop table for which there are
> pending operation in log.
advantage of high level tools to change system tables directly and later
come whining that their db doesn't work correctly.
:-)
C.