pgloader/test/sqlite.load
Dimitri Fontaine 22f4317a30 Add support for the CAST rule to SQLite sources.
This allows users to benefit from the same flexible machinery when using
SQLite as when using MySQL, and also allows to add some more default
cast rules too.
2014-10-13 00:52:55 +02:00

9 lines
256 B
Fish

load database
from 'sqlite/sqlite.db'
into postgresql:///pgloader
-- with include drop, create tables, create indexes, reset sequences
cast column character.f1 to text drop typemod
set work_mem to '16MB', maintenance_work_mem to '512 MB';