mirror of
https://github.com/dimitri/pgloader.git
synced 2026-01-22 15:41:03 +01:00
The local-time:encode-timestamp function takes a default timezone and it is necessary to have control over it when loading from pgloader. Hence, add a timezone option to the IXF option list, that is now explicit and local to the IXF parser rather than shared with the DBF option list.
11 lines
279 B
Fish
11 lines
279 B
Fish
LOAD IXF
|
|
FROM data/nsitra.test1.ixf
|
|
INTO postgresql:///pgloader?nsitra.test1
|
|
|
|
WITH truncate, create table, timezone UTC
|
|
|
|
BEFORE LOAD DO
|
|
$$ drop schema if exists nsitra cascade; $$,
|
|
$$ create schema nsitra; $$,
|
|
$$ drop table if exists nsitra.test1; $$;
|