pgloader/test/dbf.load
Dimitri Fontaine 06216eea99 Refrain from using fancy schema names in the regression tests.
Then being compatible with PostgreSQL 9.6 is too much trouble.
2019-05-12 00:10:28 +02:00

12 lines
367 B
Fish

/*
* The file comes from:
*
* http://www.insee.fr/fr/methodes/nomenclatures/cog/telechargement/2013/dbf/reg2013.dbf
*/
LOAD DBF
FROM data/reg2013.dbf with encoding cp850
INTO postgresql:///pgloader?public.reg2013
WITH truncate, create table, disable triggers
CAST column "reg2013"."region" to integer,
column "reg2013".tncc to smallint;