Add PostgreSQL base database
Fix feature count status and missing semicolons.