pgsql: Avoid unnecessary failure in SELECT concurrent with ALTER NO INH

2018-01-12 Thread Tom Lane
Avoid unnecessary failure in SELECT concurrent with ALTER NO INHERIT. If a query against an inheritance tree runs concurrently with an ALTER TABLE that's disinheriting one of the tree members, it's possible to get a "could not find inherited attribute" error because after obtaining lock on the rem

pgsql: Avoid unnecessary failure in SELECT concurrent with ALTER NO INH

2018-01-12 Thread Tom Lane
Avoid unnecessary failure in SELECT concurrent with ALTER NO INHERIT. If a query against an inheritance tree runs concurrently with an ALTER TABLE that's disinheriting one of the tree members, it's possible to get a "could not find inherited attribute" error because after obtaining lock on the rem

pgsql: Avoid unnecessary failure in SELECT concurrent with ALTER NO INH

2018-01-12 Thread Tom Lane
Avoid unnecessary failure in SELECT concurrent with ALTER NO INHERIT. If a query against an inheritance tree runs concurrently with an ALTER TABLE that's disinheriting one of the tree members, it's possible to get a "could not find inherited attribute" error because after obtaining lock on the rem

pgsql: Avoid unnecessary failure in SELECT concurrent with ALTER NO INH

2018-01-12 Thread Tom Lane
Avoid unnecessary failure in SELECT concurrent with ALTER NO INHERIT. If a query against an inheritance tree runs concurrently with an ALTER TABLE that's disinheriting one of the tree members, it's possible to get a "could not find inherited attribute" error because after obtaining lock on the rem

pgsql: Avoid unnecessary failure in SELECT concurrent with ALTER NO INH

2018-01-12 Thread Tom Lane
Avoid unnecessary failure in SELECT concurrent with ALTER NO INHERIT. If a query against an inheritance tree runs concurrently with an ALTER TABLE that's disinheriting one of the tree members, it's possible to get a "could not find inherited attribute" error because after obtaining lock on the rem

pgsql: Avoid unnecessary failure in SELECT concurrent with ALTER NO INH

2018-01-12 Thread Tom Lane
Avoid unnecessary failure in SELECT concurrent with ALTER NO INHERIT. If a query against an inheritance tree runs concurrently with an ALTER TABLE that's disinheriting one of the tree members, it's possible to get a "could not find inherited attribute" error because after obtaining lock on the rem