Comment fix for 60684dd834.
authorJeff Davis <[email protected]>
Mon, 17 Apr 2023 20:39:32 +0000 (13:39 -0700)
committerJeff Davis <[email protected]>
Mon, 17 Apr 2023 20:45:50 +0000 (13:45 -0700)
Reported-by: Peter Eisentraut
Discussion: https://postgr.es/m/766f3799-0269-162f-ba63-4cae34a5534f@enterprisedb.com

src/backend/commands/tablecmds.c

index d9bbeafd82c5c1bf49f5791d59e40d4c3c94aad3..343fe6111513ee838e4002153ec615c832495b16 100644 (file)
@@ -17062,8 +17062,8 @@ RangeVarCallbackForTruncate(const RangeVar *relation,
 }
 
 /*
- * Callback to RangeVarGetRelidExtended(), similar to
- * RangeVarCallbackOwnsTable() but without checks on the type of the relation.
+ * Callback for RangeVarGetRelidExtended().  Checks that the current user is
+ * the owner of the relation, or superuser.
  */
 void
 RangeVarCallbackOwnsRelation(const RangeVar *relation,