Changed from using pg_database to using ltdbs inside of the LTSystem database.