Hi,

> Well, the concrete problem is that I do a backup with script command using
the drop option. And even with fairly simple databases when trying to
restore the database, restore operation exits because it is unable to
execute those drop statements because of dependency issues.

With "concrete problem" I meant "an actual case where you get a problem". A
simple and complete test case.

> Hasn't this happened to others?

There were bugs in the past where wrong ordering of drop / create statements
caused problems.

> Would you like me to give a sample of such a dependency?

Yes, that would help a lot.

> One way to implement the drop option would be to come up with a function
that would delete all db objects, no questions asked (this could be
non-public but might even be useful to a developer when developing and
testing things).

This is supported: "drop all objects [ delete files ]". But it would be
wrong to add that to each script automatically (dropping unrelated tables
and other objects).

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to