If you want more reading than just the links provided search for stuff related to SQLite. The source code was released to the Public Domain, and I believe that they have written about the various pitfalls of this (notably, you can't voluntarily dedicate a work to the public domain in Germany, IIRC).