mirror of
https://github.com/dimitri/pgloader.git
synced 2026-01-25 00:51:01 +01:00
As seen in #546 it would be easier to be able to specify the option in the load command directly rather than only at the command line. Here we go!
11 lines
294 B
Fish
11 lines
294 B
Fish
LOAD IXF
|
|
FROM data/nsitra.test1.ixf
|
|
INTO postgresql:///pgloader?nsitra.test1
|
|
|
|
WITH on error stop, truncate, create table, timezone UTC
|
|
|
|
BEFORE LOAD DO
|
|
$$ drop schema if exists nsitra cascade; $$,
|
|
$$ create schema nsitra; $$,
|
|
$$ drop table if exists nsitra.test1; $$;
|