Typo fixes for commit 2ad36c4e44c8b513f6155656e1b7a8d26715bb94.

Noted during post-commit review by by Noah Misch.
This commit is contained in:
Robert Haas 2011-12-06 15:50:02 -05:00
parent 68281e0054
commit d2a662182e
2 changed files with 4 additions and 4 deletions

View File

@ -318,9 +318,9 @@ RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode,
* 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
* locking anything!), but we've gotten far enough to know what OID we
* think we should lock. Of course, concurrent DDL might things while
* we're waiting for the lock, but in that case the callback will be
* invoked again for the new OID.
* think we should lock. Of course, concurrent DDL might change things
* while we're waiting for the lock, but in that case the callback will
* be invoked again for the new OID.
*/
if (callback)
callback(relation, relId, oldRelId, callback_arg);

View File

@ -830,7 +830,7 @@ RangeVarCallbackForDropRelation(const RangeVar *rel, Oid relOid, Oid oldRelOid,
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))
return;