1 -- This data contains Ordnance Survey data © Crown copyright and database right 2010.
2 -- Code-Point Open contains Royal Mail data © Royal Mail copyright and database right 2010.
3 -- OS data may be used under the terms of the OS OpenData licence:
4 -- http://www.ordnancesurvey.co.uk/oswebsite/opendata/licence/docs/licence.pdf
6 SET statement_timeout = 0;
7 SET client_encoding = 'UTF8';
8 SET standard_conforming_strings = off;
9 SET check_function_bodies = false;
10 SET client_min_messages = warning;
11 SET escape_string_warning = off;
13 SET search_path = public, pg_catalog;
15 SET default_tablespace = '';
17 SET default_with_oids = false;
19 CREATE TABLE gb_postcode (
21 postcode character varying(9),
23 CONSTRAINT enforce_dims_geometry CHECK ((st_ndims(geometry) = 2)),
24 CONSTRAINT enforce_srid_geometry CHECK ((st_srid(geometry) = 4326))
27 GRANT SELECT ON TABLE gb_postcode TO "www-data";