mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-11 08:46:59 +02:00
Cleanup in the census places test.
This commit is contained in:
parent
ee857e7523
commit
941747e36a
@ -6,10 +6,10 @@ LOAD ARCHIVE
|
||||
$$ drop table if exists places; $$,
|
||||
$$ create table places
|
||||
(
|
||||
usps char(2) NOT NULL,
|
||||
fips char(2) NOT NULL,
|
||||
usps char(2) not null,
|
||||
fips char(2) not null,
|
||||
fips_code char(5),
|
||||
loc_name varchar(64)
|
||||
loc_name varchar(64)
|
||||
);
|
||||
$$
|
||||
|
||||
@ -17,6 +17,7 @@ LOAD ARCHIVE
|
||||
FROM FILENAME MATCHING ~/places2k.txt/
|
||||
WITH ENCODING latin-1
|
||||
(
|
||||
-- name start length
|
||||
usps 0 2,
|
||||
fips 2 2,
|
||||
fips_code 4 5,
|
||||
|
Loading…
Reference in New Issue
Block a user