CREATE SCHEMA postgres;
create table postgres.sessions(
                session_id varchar(500) primary key,
                display integer not null,
                uname varchar(100) not null,
                server varchar(100) not null,
                client inet,
                status char(1) not null default 'R',
                init_time timestamp not null default now(),
                last_time timestamp not null default now(),
                cookie char(33),
                agent_pid int,
                gr_port int,
                sound_port int,
                fs_port int,
                unique(display)
                );
