Review default SQLite options.

This commit is contained in:
Dimitri Fontaine 2014-09-22 14:34:57 +02:00
parent bf1ab9acd7
commit 52e3371be8
4 changed files with 14 additions and 6 deletions

View File

@ -1587,6 +1587,9 @@ Path or HTTP URL to a SQLite file, might be a \fB\.zip\fR file\.
.IP
When loading from a \fBSQLite\fR database, the following options are supported:
.
.IP
When loading from a \fBSQLite\fR database, the following options are supported, and the default \fIWITH\fR clause is: \fIno truncate\fR, \fIcreate tables\fR, \fIinclude drop\fR, \fIcreate indexes\fR, \fIreset sequences\fR, \fIdowncase identifiers\fR, \fIencoding \'utf\-8\'\fR\.
.
.IP "\(bu" 4
\fIinclude drop\fR
.

View File

@ -1299,6 +1299,11 @@ The `sqlite` command accepts the following clauses and options:
When loading from a `SQLite` database, the following options are
supported:
When loading from a `SQLite` database, the following options are
supported, and the default *WITH* clause is: *no truncate*, *create
tables*, *include drop*, *create indexes*, *reset sequences*, *downcase
identifiers*, *encoding 'utf-8'*.
- *include drop*
When this option is listed, pgloader drop in the PostgreSQL

View File

@ -246,13 +246,13 @@
(defmethod copy-database ((sqlite copy-sqlite)
&key
state-before
truncate
data-only
schema-only
create-tables
include-drop
create-indexes
reset-sequences
(truncate nil)
(create-tables t)
(include-drop t)
(create-indexes t)
(reset-sequences t)
only-tables
including
excluding

View File

@ -2,6 +2,6 @@ load database
from 'sqlite/sqlite.db'
into postgresql:///pgloader
with include drop, create tables, create indexes, reset sequences
-- with include drop, create tables, create indexes, reset sequences
set work_mem to '16MB', maintenance_work_mem to '512 MB';