pgloader/test/dbf-zip.load
Dimitri Fontaine febb2c11be Update HTTP/ZIP/DBF test case.
The URL of the test case source has changed. Use the new one. Also set the
encoding properly, the client_encoding trick has been deprecated for awhile
now, as pgloader only talks to Postgres in UTF-8.
2019-04-28 23:34:31 +02:00

7 lines
282 B
Fish

LOAD DBF
-- FROM http://www.insee.fr/fr/methodes/nomenclatures/cog/telechargement/2013/dbf/historiq2013.zip
FROM https://www.insee.fr/fr/statistiques/fichier/2114819/france2016-dbf.zip
with encoding cp850
INTO postgresql:///pgloader
WITH truncate, create table;