diff --git a/.gitignore b/.gitignore index 060adb6..cf05ec1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ web/howto/fixed.html web/howto/geolite.html web/howto/mysql.html web/howto/pgloader.1.html +web/howto/quickstart.html web/howto/sqlite.html diff --git a/pgloader.1 b/pgloader.1 index ff1c8b2..5553768 100644 --- a/pgloader.1 +++ b/pgloader.1 @@ -307,12 +307,12 @@ The same command as just above can also be run if the CSV file happens to be fou . .nf -\&\.pgloader \-\-type csv \e - \-\-field "usps,geoid,aland,awater,aland_sqmi,awater_sqmi,intptlat,intptlong" \e - \-\-with "skip header = 1" \e - \-\-with "fields terminated by \'\et\'" \e - http://pgsql\.tapoueh\.org/temp/2013_Gaz_113CDs_national\.txt \e - postgresql:///pgloader?districts_longlat +pgloader \-\-type csv \e + \-\-field "usps,geoid,aland,awater,aland_sqmi,awater_sqmi,intptlat,intptlong" \e + \-\-with "skip header = 1" \e + \-\-with "fields terminated by \'\et\'" \e + http://pgsql\.tapoueh\.org/temp/2013_Gaz_113CDs_national\.txt \e + postgresql:///pgloader?districts_longlat . .fi . diff --git a/pgloader.1.md b/pgloader.1.md index f37f694..e043129 100644 --- a/pgloader.1.md +++ b/pgloader.1.md @@ -248,12 +248,12 @@ pgloader with this technique, using the Unix pipe: The same command as just above can also be run if the CSV file happens to be found on a remote HTTP location: - .pgloader --type csv \ - --field "usps,geoid,aland,awater,aland_sqmi,awater_sqmi,intptlat,intptlong" \ - --with "skip header = 1" \ - --with "fields terminated by '\t'" \ - http://pgsql.tapoueh.org/temp/2013_Gaz_113CDs_national.txt \ - postgresql:///pgloader?districts_longlat + pgloader --type csv \ + --field "usps,geoid,aland,awater,aland_sqmi,awater_sqmi,intptlat,intptlong" \ + --with "skip header = 1" \ + --with "fields terminated by '\t'" \ + http://pgsql.tapoueh.org/temp/2013_Gaz_113CDs_national.txt \ + postgresql:///pgloader?districts_longlat Some more options have to be used in that case, as the file contains a one-line header (most commonly that's column names, could be a copyright diff --git a/web/howto/header.html b/web/howto/header.html index f8f7738..eddcc9d 100644 --- a/web/howto/header.html +++ b/web/howto/header.html @@ -36,9 +36,10 @@