Subject RE: [Firebird-Architect] Re: autoincrement fields
Author Claudio Valderrama C.
> -----Original Message-----
> From: Firebird-Architect@yahoogroups.com
> [mailto:Firebird-Architect@yahoogroups.com]On Behalf Of Roman Rokytskyy
> Sent: Sábado, 28 de Octubre de 2006 20:12
>
> There are few more issues...
>
> a) our gbak has problem with restoring the tables containing "DEFAULT
> gen_id(....)" - for some reason generators are created after the
> tables. The fix is not trivial.

The fix is trivial if you consider that restore() is just a loop waiting for
any type of registered objects. I never understood why backup() does (IMHO)
a silly order to store objects. I would have stored first all object types
that can't depend on other things. Once you change the backup order, there's
virtually nothing else to do in the other side.

C.