mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 07:16:58 +02:00
Add SQLite test case for before/after load commands.
See bug #321, this change should have been part of previous commit.
This commit is contained in:
parent
8355b2140e
commit
d84ec3f808
@ -6,7 +6,11 @@ load database
|
|||||||
|
|
||||||
-- excluding table names like 'appointments'
|
-- excluding table names like 'appointments'
|
||||||
|
|
||||||
|
before load do
|
||||||
|
$$ drop schema if exists sqlite cascade; $$,
|
||||||
|
$$ create schema if not exists sqlite; $$
|
||||||
|
|
||||||
cast column character.f1 to text drop typemod,
|
cast column character.f1 to text drop typemod,
|
||||||
column appointments.time to timestamptz drop default
|
column appointments.time to timestamptz drop default
|
||||||
|
|
||||||
set work_mem to '16MB', maintenance_work_mem to '512 MB';
|
set work_mem to '16MB', maintenance_work_mem to '512 MB', search_path to 'sqlite';
|
Loading…
Reference in New Issue
Block a user