create table region ( id text primary key , boundary geometry not null unique ); create index region_gist on region using gist(boundary);