File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,16 @@ ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replacea
147
147
<refsect1>
148
148
<title>Notes</title>
149
149
150
+ <para>
151
+ To analyze a table, one must ordinarily be the table's owner or a
152
+ superuser. However, database owners are allowed to
153
+ analyze all tables in their databases, except shared catalogs.
154
+ (The restriction for shared catalogs means that a true database-wide
155
+ <command>ANALYZE</command> can only be performed by a superuser.)
156
+ <command>ANALYZE</command> will skip over any tables that the calling user
157
+ does not have permission to analyze.
158
+ </para>
159
+
150
160
<para>
151
161
Foreign tables are analyzed only when explicitly selected. Not all
152
162
foreign data wrappers support <command>ANALYZE</command>. If the table's
You can’t perform that action at this time.
0 commit comments