Database Schema for use with PostgreSQL 9.1