extend safety checks for -I
This commit is contained in:
parent
839aec7e71
commit
6d8ff6ba19
@ -360,6 +360,11 @@ main(int argc, char *argv[])
|
|||||||
(errcode(EINVAL),
|
(errcode(EINVAL),
|
||||||
errmsg("cannot specify --table (-t) and --exclude-extension (-C)")));
|
errmsg("cannot specify --table (-t) and --exclude-extension (-C)")));
|
||||||
|
|
||||||
|
if (exclude_extension_list.head && parent_table_list.head)
|
||||||
|
ereport(ERROR,
|
||||||
|
(errcode(EINVAL),
|
||||||
|
errmsg("cannot specify --parent-table (-I) and --exclude-extension (-C)")));
|
||||||
|
|
||||||
if (noorder)
|
if (noorder)
|
||||||
orderby = "";
|
orderby = "";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user