mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 15:27:00 +02:00
Fix Primary Keys count.
That was broken in a recent patch refactoring the PostgreSQL SQL execute API that now accepts a list of commands to execute.
This commit is contained in:
parent
320a545533
commit
bdaacae3e7
@ -133,7 +133,9 @@
|
||||
;; Turn UNIQUE indexes into PRIMARY KEYS now
|
||||
;;
|
||||
(unless data-only
|
||||
(pgsql-execute-with-timing :post "Primary Keys" pkeys)
|
||||
(pgsql-execute-with-timing :post "Primary Keys"
|
||||
pkeys
|
||||
:count (length pkeys))
|
||||
|
||||
;;
|
||||
;; Foreign Key Constraints
|
||||
|
Loading…
Reference in New Issue
Block a user