/
n-dimens
/
pgloader
Обзор
Документация
Войти
/
n-dimens
/
pgloader
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/data/exhausted.load
15 строк
652 B
Dimitri Fontaine
Allow optional control of batch memory footprint, see #16 and #22.
27 янв 2014, 02:22
27 янв 2014, 02:22
a8b0f91
Код
Авторство
О чём код?
LOAD DATABASE FROM mysql://root@localhost:3306/exhausted INTO postgresql:///exhausted WITH include drop, create tables, create indexes, reset sequences, truncate CAST type datetime to timestamptz drop default drop not null using zero-dates-to-null, type date drop not null drop default using zero-dates-to-null, type timestamp to timestamptz drop not null using zero-dates-to-null, -- now the default for tinyint(1) -- column bools.a to boolean drop typemod using tinyint-to-boolean, -- override char(1) to varchar(1), just use char(1) here. type char when (= precision 1) to char keep typemod;