forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5cfba1a
committed
Fix vacuumdb to pass buffer-usage-limit with analyze-only mode
ae78cae added the --buffer-usage-limit to vacuumdb to allow it toinclude the BUFFER_USAGE_LIMIT option in the VACUUM command.Unfortunately, that commit forgot to adjust the code so the option wasadded to the ANALYZE command when the -Z command line argument wasspecified.There were no issues with the -z command as that option just addsANALYZE to the VACUUM command.In passing adjust the code to escape the --buffer-usage-limit optionbefore passing it to the server. It seems nothing beyond a confusingerror message could become this lack of escaping as VACUUM cannot bespecified in a multi-command string.Reported-by: Ryoga YoshidaAuthor: Ryoga Yoshida, David RowleyDiscussion:https://postgr.es/m/08930c0b541700a5264e5fbf3a685f5a%40oss.nttdata.comBackpatch-through: 16, whereae78cae was introduced.1 parente5975c2 commit5cfba1a
1 file changed
+24
-1
lines changedLines changed: 24 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
| 88 | + | |
| 89 | + | |
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
| |||
270 | 272 |
| |
271 | 273 |
| |
272 | 274 |
| |
273 |
| - | |
| 275 | + | |
274 | 276 |
| |
275 | 277 |
| |
276 | 278 |
| |
| |||
452 | 454 |
| |
453 | 455 |
| |
454 | 456 |
| |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
455 | 471 |
| |
456 | 472 |
| |
457 | 473 |
| |
| |||
964 | 980 |
| |
965 | 981 |
| |
966 | 982 |
| |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
967 | 990 |
| |
968 | 991 |
| |
969 | 992 |
| |
|
0 commit comments
Comments
(0)