> I think that's an absolute no-go. Adding locking to progress reporting, > particularly a single central lwlock, is going to *vastly* increase the > overhead incurred by progress reporting.
Sorry for the late reply. The usage of the shared memory will be limited to PARALLEL maintenance operations. For now, it will only be populated for parallel vacuums. Autovacuum for example will not be required to populate this shared memory. Regards, --- Sami Imseih Amazon Web Services