File: dbf-zip.load

package info (click to toggle)
pgloader 3.6.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,040 kB
  • sloc: sql: 32,321; lisp: 14,792; makefile: 439; sh: 85; python: 26
file content (8 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
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; $$;