aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/namespace.c6
-rw-r--r--src/backend/commands/tablecmds.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/catalog/namespace.c b/src/backend/catalog/namespace.c
index 25cad3d1528..807d966095b 100644
--- a/src/backend/catalog/namespace.c
+++ b/src/backend/catalog/namespace.c
@@ -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);
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 1c3fe6a9630..1ee201c141a 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -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;