mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 07:16:58 +02:00
Export more practical stuff in the main package, and make run-command smarter.
This commit is contained in:
parent
b4c9ca0571
commit
005b33d99f
@ -152,6 +152,9 @@
|
||||
#:*myconn-port*
|
||||
#:*myconn-user*
|
||||
#:*myconn-pass*
|
||||
#:run-command
|
||||
#:parse-command
|
||||
#:slurp-file-into-string
|
||||
#:copy-from-file
|
||||
#:list-databases
|
||||
#:list-tables))
|
||||
|
@ -1319,6 +1319,8 @@ Here's a quick description of the format we're parsing here:
|
||||
(typecase command
|
||||
(function command)
|
||||
(list (compile nil command))
|
||||
(pathname (compile nil (parse-command
|
||||
(slurp-file-into-string command))))
|
||||
(t (compile nil (parse-command command))))))
|
||||
|
||||
;; Start the logger
|
||||
|
Loading…
Reference in New Issue
Block a user