projects
/
postgresql-pgindent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
38358aa
)
Comment fix for 60684dd834.
author
Jeff Davis
<
[email protected]
>
Mon, 17 Apr 2023 20:39:32 +0000
(13:39 -0700)
committer
Jeff 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
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/tablecmds.c
b/src/backend/commands/tablecmds.c
index d9bbeafd82c5c1bf49f5791d59e40d4c3c94aad3..343fe6111513ee838e4002153ec615c832495b16 100644
(file)
--- 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,