mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Desultory improvements.
Killing tasks in the error handling must be done carefully, and given this testing session it seems better to refrain from doing it when erroring out at COPY init time (missing column is an example of that). The approach around that is still very much ad-hoc rather than systematic. In passing improve the `make save` option to producing a binary image: have the make recipe respect the CL variable. The command line options differences were already accounted for.
This commit is contained in:
parent
2147a1d07b
commit
1306b4c953
2
Makefile
2
Makefile
@ -165,7 +165,7 @@ test: $(PGLOADER)
|
||||
$(MAKE) PGLOADER=$(realpath $(PGLOADER)) CL=$(CL) -C test regress
|
||||
|
||||
save: ./src/save.lisp $(LISP_SRC)
|
||||
sbcl --no-userinit --load ./src/save.lisp
|
||||
$(CL) $(CL_OPTS) --load ./src/save.lisp
|
||||
|
||||
check-saved: save
|
||||
$(MAKE) PGLOADER=$(realpath $(PGLOADER)) CL=$(CL) -C test regress
|
||||
|
||||
@ -79,7 +79,6 @@
|
||||
#'(lambda (condition)
|
||||
;; stop the other tasks and then transfer the control
|
||||
(log-message :log "COPY INIT ERROR")
|
||||
(lp:kill-tasks :default)
|
||||
(lp:invoke-transfer-error condition)))
|
||||
(on-error-stop
|
||||
#'(lambda (condition)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user