mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Blind try at fixing #158.
The call to format-pgsql-create-fkey was passing the fkey cons rather than just the fk definition structure as an argument.
This commit is contained in:
parent
4e7f925a9b
commit
13faf3e4f8
@ -133,7 +133,7 @@
|
||||
(pgstate-add-table state (db-name pgconn) "Foreign Keys")
|
||||
(loop :for (schema . tables) :in all-fkeys
|
||||
:do (loop :for (table-name . fkeys) :in tables
|
||||
:do (loop :for fkey :in fkeys
|
||||
:do (loop :for (fk-name . fkey) :in fkeys
|
||||
:for sql := (format-pgsql-create-fkey fkey)
|
||||
:do (progn
|
||||
(log-message :notice "~a;" sql)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user