mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 15:27:00 +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-port*
|
||||||
#:*myconn-user*
|
#:*myconn-user*
|
||||||
#:*myconn-pass*
|
#:*myconn-pass*
|
||||||
|
#:run-command
|
||||||
|
#:parse-command
|
||||||
|
#:slurp-file-into-string
|
||||||
#:copy-from-file
|
#:copy-from-file
|
||||||
#:list-databases
|
#:list-databases
|
||||||
#:list-tables))
|
#:list-tables))
|
||||||
|
@ -1319,6 +1319,8 @@ Here's a quick description of the format we're parsing here:
|
|||||||
(typecase command
|
(typecase command
|
||||||
(function command)
|
(function command)
|
||||||
(list (compile nil command))
|
(list (compile nil command))
|
||||||
|
(pathname (compile nil (parse-command
|
||||||
|
(slurp-file-into-string command))))
|
||||||
(t (compile nil (parse-command command))))))
|
(t (compile nil (parse-command command))))))
|
||||||
|
|
||||||
;; Start the logger
|
;; Start the logger
|
||||||
|
Loading…
Reference in New Issue
Block a user