File: dbf.load

package info (click to toggle)
pgloader 3.1.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,192 kB
  • ctags: 867
  • sloc: lisp: 6,913; makefile: 238; sh: 82; sql: 55
file content (10 lines) | stat: -rw-r--r-- 269 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
/*
 * The file comes from:
 *
 * http://www.insee.fr/fr/methodes/nomenclatures/cog/telechargement/2013/dbf/reg2013.dbf
 */ 
LOAD DBF
    FROM data/reg2013.dbf
    INTO postgresql:///pgloader?reg2013
    WITH truncate, create table
     SET client_encoding TO 'latin1';