mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-07 23:07:00 +02:00
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.
9 lines
256 B
Fish
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'; |