Fix the fix, see #343.

Someday I should either stop working on pgloader in between other things
or have a better test suite, including MS SQL and all. Probably both.
And read compiler notes and warnings too, while at that...
This commit is contained in:
Dimitri Fontaine 2016-02-20 14:13:22 +01:00
parent 197258951c
commit 9512ab187e

View File

@ -260,9 +260,9 @@ ORDER BY KCU1.CONSTRAINT_NAME, KCU1.ORDINAL_POSITION"
(format-table-name
;; for code re-use, create a table instance here.
(make-table
:source-name (cons "~" fschema ftable)
:source-name (cons fschema ftable)
:name (apply-identifier-case ftable)
:schema fshema))
:schema fschema))
:foreign-columns (list fcol)))
(fkey (maybe-add-fkey table fkey-name pg-fkey
:key #'pgloader.pgsql::pgsql-fkey-name)))