Re: Bug fix in vacuumdb --buffer-usage-limit xxx -Z

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Ryoga Yoshida <bt23yoshidar@oss.nttdata.com>, pgsql-hackers@lists.postgresql.org
Date: 2023-09-21T05:59:25Z
Lists: pgsql-hackers
On Thu, Sep 21, 2023 at 05:50:26PM +1200, David Rowley wrote:
> I've pushed your patch plus some additional code to escape the text
> specified in --buffer-usage-limit before passing it to the server in
> commit 5cfba1ad6

That was fast.  If I may ask, why don't you have some regression tests
for the two code paths of vacuumdb that append this option to the
commands generated for VACUUM and ANALYZE?
--
Michael

Commits

  1. Fix vacuumdb to pass buffer-usage-limit with analyze-only mode