Try to repack all tables with pkey, not only the ones with ckey

This is consistent with --no-order not been required anymore.
This commit is contained in:
Daniele Varrazzo
2013-04-17 18:56:50 +01:00
parent b3304b8a69
commit 3d0b02c654
3 changed files with 8 additions and 5 deletions

View File

@ -521,8 +521,6 @@ repack_one_database(const char *orderby, char *errbuf, size_t errsize)
else
{
appendStringInfoString(&sql, "pkid IS NOT NULL");
if (!orderby)
appendStringInfoString(&sql, " AND ckid IS NOT NULL");
}
/* double check the parameters array is sane */