mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-07 06:47:00 +02:00
9 lines
369 B
Fish
9 lines
369 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
|
|
TARGET TABLE dbf.france2016
|
|
WITH truncate, create table
|
|
BEFORE LOAD DO $$ create schema if not exists dbf; $$;
|