P.S. The California court ruling does NOT mean that the database is open for public scrutiny. You can be sure that the defendants will - if they ultimately lose this at the appeals court level - will have the court put protective orders in place so that the information in the database is NOT put into the public court record and will NOT be shared with anyone other than counsel involved in the law suits. Typically information that is "discovered" by depositions, written interrogatories, etc. according to local discovery rules (or the Federal Rules of Civil Procedure) - are NOT put into the court record for public access; these materials are used in the development of a prosecution or defense strategy including developing witness lists and also to impeach witnesses' testimony.
The important thing to keep in mind with respect to this ruling is that the court denied the defendants the use of clergy-penitant privilege to prevent pertinent information from being made available to plaintiffs' counsel. That is the key.