From: Jeff Davis Date: Mon, 17 Apr 2023 20:39:32 +0000 (-0700) Subject: Comment fix for 60684dd834. X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=e39d512f3e9b1e34ffba77c8fe120c2675f6873b;p=postgresql-pgindent.git Comment fix for 60684dd834. Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/766f3799-0269-162f-ba63-4cae34a5534f@enterprisedb.com --- diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index d9bbeafd82..343fe61115 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -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,