From febb2c11bef85435d5dc74e024304f102b82b1df Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Sun, 28 Apr 2019 23:34:31 +0200 Subject: [PATCH] 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. --- test/dbf-zip.load | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/dbf-zip.load b/test/dbf-zip.load index bc6efba..9ec7223 100644 --- a/test/dbf-zip.load +++ b/test/dbf-zip.load @@ -1,5 +1,6 @@ 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 - WITH truncate, create table - SET client_encoding TO 'latin1'; + WITH truncate, create table;