From 43bb87943fdf324a1246ec1cdf916c0db8cd607b Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Tue, 25 Oct 2016 11:54:56 +0200 Subject: [PATCH] Fix compilation error. Introduced recently when refactoring the match rules, forgot to update all call sites, and the bug went unnoticed for a while, oops. Not sure the fix is all we need to get back a working feature (alter schema rename to), but it allows to compile and that's all I have the time to handle today. See #466. --- src/parsers/command-alter-table.lisp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/parsers/command-alter-table.lisp b/src/parsers/command-alter-table.lisp index 1b6cc7e..7a5489d 100644 --- a/src/parsers/command-alter-table.lisp +++ b/src/parsers/command-alter-table.lisp @@ -74,8 +74,7 @@ (:lambda (alter-schema-command) (bind (((_ _ current-name _ _ new-name) alter-schema-command)) (pgloader.catalog::make-match-rule - :type :string - :target current-name + :rule (make-string-match-rule :target current-name) :action #'pgloader.catalog::alter-schema-rename :args (list new-name)))))