This patch should allow primary/foreign keydefinitions using inherited columns in the create table statement.