Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align global space dbOid with the backend (#275)
PG backend uses `InvalidOid` as the database Oid for global space rel locators (see: https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/utils/cache/relcache.c;h=930cc03ee20b10262815f7c879494e2576593882;hb=b18b3a8150dbb150124bd345e000d6dc92f3d6dd#l1333). So should we. Otherwise, it can (and does) cause issues like https://perconadev.atlassian.net/browse/PG-1000 In that case, the backend creates a temporary relation in the "global space" leading to a dbOid mismatch. Fixes PG-1000
- Loading branch information