Hi,

For backward compatibility I guess the current default suffix ".h2.db"
will stay for a while. The earliest possible change is H2 version 1.4,
and I'm not sure if it makes sense yet. First I want to get rid of all
the other database files (lob files, temp files). The .trace.db file
may get renamed to .log at some point (not sure yet).

There is a feature request for "Database file name suffix: a way to
use no or a different suffix (for example using a slash).". That means
if you use the database URL "jdbc:h2:~/test/" then it would create a
file named "test". This is not implemented yet (patches are welcome),
but what do you think about it?

> -- H2 0.5/B -- and it may have three lines of that header

Yes, the first is the regular header, the second and third may be
encrypted (for encrypted databases).

> -- H2 0.5/B D 1.2.147--

I will consider this for the future. There is already the CREATE_BUILD
setting in the database file. Plus, there is a read-version and
write-version in the header (see PageStore.java class javadoc).

What about h2database.com as the header? Or h2database.org.

The idea is that the header is one page long, and never changes once
the database is created. If it could change then there is a problem
how to change it in a transactional way (with possible power failure
while it's written). The second and  third page contain header data
that can change (both pages are supposed to contain the exact same
data, so that this data can be changed in a transactional way, and
recover from a power failure).

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