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:
Dimitri Fontaine 2016-12-18 19:20:51 +01:00
parent 320a545533
commit bdaacae3e7

View File

@ -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