]> granicus.if.org Git - postgresql/commitdiff
Typo fixes for commit 2ad36c4e44c8b513f6155656e1b7a8d26715bb94.
authorRobert Haas <rhaas@postgresql.org>
Tue, 6 Dec 2011 20:50:02 +0000 (15:50 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 6 Dec 2011 20:50:02 +0000 (15:50 -0500)
Noted during post-commit review by by Noah Misch.

src/backend/catalog/namespace.c
src/backend/commands/tablecmds.c

index 25cad3d1528f6ba8eee5a60cb7bc67fc51d25c7d..807d966095bab77d4bd271d122de63c1e43ba19b 100644 (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);
index 1c3fe6a9630c0470baf48d38e3980978e4c0efcc..1ee201c141a913f2b8989dee6612c1f75f60862f 100644 (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;