Project

General

Profile

« Previous | Next » 

Revision 8184

inputs/FIA/*/import: Removed util. before function names because util is in the search_path

View differences:

import
5 5

  
6 6
map_table
7 7
psql <<'EOF'
8
SELECT util.set_col_types('"COUNTY"', ARRAY[
8
SELECT set_col_types('"COUNTY"', ARRAY[
9 9
  ('STATECD', 'integer')
10 10
, ('UNITCD', 'integer')
11 11
, ('COUNTYCD', 'integer')
12
]::util.col_cast[]);
12
]::col_cast[]);
13 13

  
14
SELECT util.create_if_not_exists($$ALTER TABLE "COUNTY" ADD CONSTRAINT "COUNTY.ID"     UNIQUE ("COUNTY
14
SELECT create_if_not_exists($$ALTER TABLE "COUNTY" ADD CONSTRAINT "COUNTY.ID"     UNIQUE ("COUNTY
15 15
CN")$$);
16
SELECT util.create_if_not_exists($$ALTER TABLE "COUNTY" ADD CONSTRAINT "COUNTY.unique" UNIQUE ("STATECD", "UNITCD", "COUNTYCD")$$);
16
SELECT create_if_not_exists($$ALTER TABLE "COUNTY" ADD CONSTRAINT "COUNTY.unique" UNIQUE ("STATECD", "UNITCD", "COUNTYCD")$$);

Also available in: Unified diff