Subject | Re: Grant priviliges - another question. |
---|---|
Author | Adam |
Post date | 2005-07-27T07:03:55Z |
--- In firebird-support@yahoogroups.com, "Jacek Borowski"
<jacek@t...> wrote:
concept on table meta data. If you have are in the middle of a
transaction and all of a sudden the table has more or fewer fields,
or there is a new constraint or something, then it is really going to
confuse things. Firebird will NOT let you change the meta data of a
table that is "in use", in fact you will get such a message if you
try.
the particular fdb, connected as the owner, make any metadata changes
required, then turn the fdb back on.
From experience, I also wouldn't be so confident that old programs
will work with new database structures, especially if you do not
declare every field of a table in an insert statement etc.
Adam
<jacek@t...> wrote:
> >> Is there any possibility to alter table by user who is not adminnor
> > owneris
> >> of this table ?
> >
> > No.
> > But then again you don't really want to try this when anyone else
> > connected either.While Firebird has MVCC on table records, it does not have any such
>
> But, why ?
concept on table meta data. If you have are in the middle of a
transaction and all of a sudden the table has more or fewer fields,
or there is a new constraint or something, then it is really going to
confuse things. Firebird will NOT let you change the meta data of a
table that is "in use", in fact you will get such a message if you
try.
> Many times I need to add some extra calculated fields or additionalfields
> to store additional informations. I need to do it when the firstuser with
> new software connect to database. Only this new software canunderstand
> changes. Changes are important for future use, but software will beupgraded
> for all users in few days. Every user with new software can seechanges and
> can update database with new informations, others peoples workswithout
> problems with old software.In your case, you could quite easily create a program that shut down
the particular fdb, connected as the owner, make any metadata changes
required, then turn the fdb back on.
From experience, I also wouldn't be so confident that old programs
will work with new database structures, especially if you do not
declare every field of a table in an insert statement etc.
Adam