]> git.8kb.co.uk Git - postgresql/geographic_data/commitdiff
Fix a couple of typo's in paf_postgresql_import_postgis.plpgsql
authorglyn <glyn@8kb.co.uk>
Fri, 23 May 2014 11:29:39 +0000 (12:29 +0100)
committerglyn <glyn@8kb.co.uk>
Fri, 23 May 2014 11:29:39 +0000 (12:29 +0100)
paf_postgresql_import_postgis.plpgsql

index 058c45fb476683d2841456b06c647687eedf2f9f..5a16920614adb8756170887610632dca42d755ec 100644 (file)
@@ -267,7 +267,7 @@ BEGIN
        -- 7) Postzon with latlon generated using postgis
        TRUNCATE TABLE data_stage;
        
-       RAISE NOTICE '%: Begin staging postzone', clock_timestamp();
+       RAISE NOTICE '%: Begin staging postzon', clock_timestamp();
        
        v_sql := 'COPY data_stage FROM ' || quote_literal(v_data_postzon || 'pzone100.c01');
        EXECUTE v_sql;  
@@ -946,7 +946,7 @@ BEGIN
        EXECUTE v_sql;  
        DELETE FROM data_stage WHERE data like '%WCHANGES' || in_edition || '%' OR data like v_main_footer;
        
-       RAISE NOTICE '%: Done staging WChanges2 file',clock_timestamp();
+       RAISE NOTICE '%: Done staging WChanges file',clock_timestamp();
        
        RAISE NOTICE '%: Preparing to update welsh mainfile', clock_timestamp();
 
@@ -1063,7 +1063,7 @@ BEGIN
        
        -- It would appear postzon is supplied as a full refresh rather than an update file
        TRUNCATE TABLE data_stage;      
-       RAISE NOTICE '%: Begin staging postzone', clock_timestamp();
+       RAISE NOTICE '%: Begin staging postzon', clock_timestamp();
                
        v_sql := 'COPY data_stage FROM ' || quote_literal(v_data_postzon || 'pzone100.c01');
        EXECUTE v_sql;                  
@@ -1275,4 +1275,4 @@ LEFT OUTER JOIN public.pc_paf_organisations o USING (organisation_key, postcode_
 LEFT OUTER JOIN public.pc_paf_organisations lo ON mw.address_key = lo.organisation_key AND mw.postcode_type = lo.postcode_type
 LEFT OUTER JOIN public.pc_paf_postzon_100m p USING (outward_code, inward_code)
 LEFT OUTER JOIN public.pc_paf_county_alias a ON a.postcode = (rpad(mw.outward_code,4) || mw.inward_code)
-LEFT OUTER JOIN public.pc_paf_counties apc ON apc.county_key = a.former_postal_county;
\ No newline at end of file
+LEFT OUTER JOIN public.pc_paf_counties apc ON apc.county_key = a.former_postal_county;