You can't combine
create table x of y
with create table x (...) inherits (y)
. What is your expected result here?