mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Bugfix some db3 and dbf confusion, and review defaults for dbf loading.
This commit is contained in:
parent
3362a1da19
commit
3654f73390
@ -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)
|
||||
|
||||
@ -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)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user