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.
This commit is contained in:
Dimitri Fontaine 2019-04-28 23:34:31 +02:00
parent 6dbe62af1c
commit febb2c11be

View File

@ -1,5 +1,6 @@
LOAD DBF LOAD DBF
FROM http://www.insee.fr/fr/methodes/nomenclatures/cog/telechargement/2013/dbf/historiq2013.zip -- 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 INTO postgresql:///pgloader
WITH truncate, create table WITH truncate, create table;
SET client_encoding TO 'latin1';