mirror of
https://github.com/dimitri/pgloader.git
synced 2026-02-10 08:51:02 +01:00
Add a notice message with guessed parameters.
We might have to help users debug our decision, and I expect we will have to improve our guess “engine” here.
This commit is contained in:
parent
471f2b6d88
commit
cf6182fafa
@ -86,7 +86,14 @@
|
||||
(guess-csv-params stream nb-columns)
|
||||
(setf separator sep
|
||||
quote q
|
||||
escape esc))))
|
||||
escape esc)
|
||||
|
||||
(log-message :notice "Guessed following CSV parameters:~% ~a"
|
||||
(format nil "~
|
||||
fields terminated by '~a',
|
||||
fields optionally enclosed by '~a',
|
||||
fields escaped by '~a'"
|
||||
sep q esc)))))
|
||||
|
||||
(handler-case
|
||||
(handler-bind ((cl-csv:csv-parse-error
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user