basic postgresql compatibility
postgresql db schema