PostgreSQL Inheritance 7 codes