Nathan Bossart <nathandboss...@gmail.com> writes: > On Thu, Dec 29, 2022 at 03:29:15PM -0500, Tom Lane wrote: >> I tried to make a patch along these lines, and soon hit a stumbling >> block: ONLY is a fully-reserved SQL keyword. I don't think this >> syntax is attractive enough to justify requiring people to >> double-quote the option, so we are back to square one. Anybody >> have a different suggestion?
> ... adding both SKIP_DATABASE_STATS and ONLY_DATABASE_STATS might be the > best bet. Nobody has proposed a different bikeshed color, so I'm going to proceed with that syntax. I'll incorporate the parallel-machinery fix from your patch and push to HEAD only (since it's hard to argue this isn't a new feature). This needn't foreclose pursuing the various ideas about making vac_update_datfrozenxid faster; but none of those would eliminate the fundamental O(N^2) issue AFAICS. regards, tom lane