8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b357cc commit 7c298c6Copy full SHA for 7c298c6
src/backend/postmaster/autovacuum.c
@@ -2783,6 +2783,11 @@ perform_work_item(AutoVacuumWorkItem *workitem)
2783
*
2784
* Given a relation's pg_class tuple, return the AutoVacOpts portion of
2785
* reloptions, if set; otherwise, return NULL.
2786
+ *
2787
+ * Note: callers do not have a relation lock on the table at this point,
2788
+ * so the table could have been dropped, and its catalog rows gone, after
2789
+ * we acquired the pg_class row. If pg_class had a TOAST table, this would
2790
+ * be a risk; fortunately, it doesn't.
2791
*/
2792
static AutoVacOpts *
2793
extract_autovac_opts(HeapTuple tup, TupleDesc pg_class_desc)
0 commit comments