mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
Run pgindent on 9.2 source tree in preparation for first 9.3
commit-fest.
This commit is contained in:
@@ -322,13 +322,13 @@ get_rel_oids(Oid relid, const RangeVar *vacrel)
|
||||
Oid relid;
|
||||
|
||||
/*
|
||||
* Since we don't take a lock here, the relation might be gone,
|
||||
* or the RangeVar might no longer refer to the OID we look up
|
||||
* here. In the former case, VACUUM will do nothing; in the
|
||||
* latter case, it will process the OID we looked up here, rather
|
||||
* than the new one. Neither is ideal, but there's little practical
|
||||
* alternative, since we're going to commit this transaction and
|
||||
* begin a new one between now and then.
|
||||
* Since we don't take a lock here, the relation might be gone, or the
|
||||
* RangeVar might no longer refer to the OID we look up here. In the
|
||||
* former case, VACUUM will do nothing; in the latter case, it will
|
||||
* process the OID we looked up here, rather than the new one.
|
||||
* Neither is ideal, but there's little practical alternative, since
|
||||
* we're going to commit this transaction and begin a new one between
|
||||
* now and then.
|
||||
*/
|
||||
relid = RangeVarGetRelid(vacrel, NoLock, false);
|
||||
|
||||
|
Reference in New Issue
Block a user