[COMMITTERS] pgsql: Fix inadequate locking during get_rel_oids().

2017-09-29 Thread Tom Lane
Fix inadequate locking during get_rel_oids(). get_rel_oids used to not take any relation locks at all, but that stopped being a good idea with commit 3c3bb9933, which inserted a syscache lookup into the function. A concurrent DROP TABLE could now produce "cache lookup failed", which we don't

[COMMITTERS] pgsql: Fix inadequate locking during get_rel_oids().

2017-09-29 Thread Tom Lane
Fix inadequate locking during get_rel_oids(). get_rel_oids used to not take any relation locks at all, but that stopped being a good idea with commit 3c3bb9933, which inserted a syscache lookup into the function. A concurrent DROP TABLE could now produce "cache lookup failed", which we don't