Bug fix in vacuumdb --buffer-usage-limit xxx -Z - Mailing list pgsql-hackers

From Ryoga Yoshida
Subject Bug fix in vacuumdb --buffer-usage-limit xxx -Z
Date
Msg-id 08930c0b541700a5264e5fbf3a685f5a@oss.nttdata.com
Whole thread Raw
Responses Re: Bug fix in vacuumdb --buffer-usage-limit xxx -Z
Re: Bug fix in vacuumdb --buffer-usage-limit xxx -Z
List pgsql-hackers
Hi,

When --buffer-usage-limit option is specified, vacuumdb issues VACUUM or 
VACUUM ANALYZE command with BUFFER_USAGE_LIMIT option. Also if 
--buffer-usage-limit and -Z options are specified, vacuumdb should issue 
ANALYZE command with BUFFER_USAGE_LIMIT option. But it does not. That 
is, vacuumdb -Z seems to fail to handle --buffer-usage-limit option. 
This seems a bug.

You can see my patch in the attached file and how it works by adding -e 
option in vacuumdb.

Ryoga Yoshida
Attachment

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Memory consumed by child SpecialJoinInfo in partitionwise join planning
Next
From: Kuwamura Masaki
Date:
Subject: Re: bug fix and documentation improvement about vacuumdb