Commit d2a66218 authored by Robert Haas's avatar Robert Haas

Typo fixes for commit 2ad36c4e.

Noted during post-commit review by by Noah Misch.
parent 68281e00
...@@ -318,9 +318,9 @@ RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode, ...@@ -318,9 +318,9 @@ RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode,
* This callback is a good place to check permissions: we haven't taken * This callback is a good place to check permissions: we haven't taken
* the table lock yet (and it's really best to check permissions before * the table lock yet (and it's really best to check permissions before
* locking anything!), but we've gotten far enough to know what OID we * locking anything!), but we've gotten far enough to know what OID we
* think we should lock. Of course, concurrent DDL might things while * think we should lock. Of course, concurrent DDL might change things
* we're waiting for the lock, but in that case the callback will be * while we're waiting for the lock, but in that case the callback will
* invoked again for the new OID. * be invoked again for the new OID.
*/ */
if (callback) if (callback)
callback(relation, relId, oldRelId, callback_arg); callback(relation, relId, oldRelId, callback_arg);
......
...@@ -830,7 +830,7 @@ RangeVarCallbackForDropRelation(const RangeVar *rel, Oid relOid, Oid oldRelOid, ...@@ -830,7 +830,7 @@ RangeVarCallbackForDropRelation(const RangeVar *rel, Oid relOid, Oid oldRelOid,
state->heapOid = InvalidOid; state->heapOid = InvalidOid;
} }
/* Didn't find a relation, so need for locking or permission checks. */ /* Didn't find a relation, so no need for locking or permission checks. */
if (!OidIsValid(relOid)) if (!OidIsValid(relOid))
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment