diff options
author | Jeff Davis <jdavis@postgresql.org> | 2023-04-17 13:39:32 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2023-04-17 13:45:50 -0700 |
commit | e39d512f3e9b1e34ffba77c8fe120c2675f6873b (patch) | |
tree | 713d20e6f58b77b1e1afba6cab9185d86af02e10 /src | |
parent | 38358aab9a09d6304eb78e309a3bb969b68d249c (diff) | |
download | postgresql-e39d512f3e9b1e34ffba77c8fe120c2675f6873b.tar.gz postgresql-e39d512f3e9b1e34ffba77c8fe120c2675f6873b.zip |
Comment fix for 60684dd834.
Reported-by: Peter Eisentraut
Discussion: https://postgr.es/m/766f3799-0269-162f-ba63-4cae34a5534f@enterprisedb.com
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/tablecmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index d9bbeafd82c..343fe611151 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, |