Added postgresql table creation functions.