set 'include_extensions' to true if tables have been specified

This commit is contained in:
Dmitry Ivanov 2016-10-24 16:54:32 +03:00
parent 20beaf99f2
commit 116fa68097

View File

@ -625,6 +625,12 @@ repack_one_database(const char *orderby, char *errbuf, size_t errsize)
params[iparam++] = tablespace;
if (num_tables)
{
/*
* Tables have been explicitly specified,
* no need to hide tables of extensions
*/
include_extensions = true;
appendStringInfoString(&sql, "(");
for (cell = table_list.head; cell; cell = cell->next)
{