Bugfix some db3 and dbf confusion, and review defaults for dbf loading.

This commit is contained in:
Dimitri Fontaine 2014-12-23 22:36:54 +01:00
parent 3362a1da19
commit 3654f73390
2 changed files with 6 additions and 2 deletions

View File

@ -274,7 +274,7 @@
:collect (parse (case type
(:csv 'csv-option)
(:fixed 'fixed-option)
(:db3 'dbf-option)
(:dbf 'dbf-option)
(:ixf 'ixf-option)
(:sqlite 'sqlite-option)
(:mysql 'mysql-option)

View File

@ -125,7 +125,11 @@
(pgstate-incf *state* (target db3) :read read)))
(defmethod copy-from ((db3 copy-db3)
&key state-before truncate create-table table-name)
&key
table-name
state-before
(truncate t)
(create-table t))
"Open the DB3 and stream its content to a PostgreSQL database."
(let* ((summary (null *state*))
(*state* (or *state* (make-pgstate)))