mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-09 15:56:58 +02:00
This option is dangerous and allows to skip ALL triggers when loading data against PostgreSQL. This includes foreign key constraints definitions and will allow loading data out of order. When using both the options "create no table" and "disable triggers" it will be possible to load data into a schema prepared by your favorite external tool, at the cost of not validating FK constraints. Use with care. Fix #167.
10 lines
270 B
Fish
10 lines
270 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?reg2013
|
|
WITH truncate, create table, disable triggers;
|