From d84ec3f8085d42dcdd2d2d245269cd89f02b490c Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Wed, 23 Dec 2015 21:58:56 +0100 Subject: [PATCH] Add SQLite test case for before/after load commands. See bug #321, this change should have been part of previous commit. --- test/sqlite.load | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/sqlite.load b/test/sqlite.load index 6bfd34f..c884c9e 100644 --- a/test/sqlite.load +++ b/test/sqlite.load @@ -6,7 +6,11 @@ load database -- 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, column appointments.time to timestamptz drop default - set work_mem to '16MB', maintenance_work_mem to '512 MB'; \ No newline at end of file + set work_mem to '16MB', maintenance_work_mem to '512 MB', search_path to 'sqlite'; \ No newline at end of file