Added Postgres version of the create session table code

The MySQL create table code will not work for postgres. I added the correct code for postgres.