mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed generated SQL issue for auto vacuum options. Fixes #5398
Fixed some more issues:
1) pgAdmin allows only true or false values for autovacuum_enabled,
and there is no way to reset it individually without disabling a custom auto vacuum.
To fix this, the control is changed from the switch to three state buttons.
2) Setting any vacuum options to zero made the option disappear from the SQL.
3) Right-click on a table with vacuum options set and create a new table.
4) The parameters tab will have the options prefilled.
5) Changed the UI a bit to remove unnecessary space around. Added "Autovacuum" before enabled.
The SQL generated was appending a ".0" to decimal vacuum options. Changed to remove the leading ".0".
This commit is contained in:
committed by
Akshay Joshi
parent
e73e2d2502
commit
b64896f558
BIN
docs/en_US/images/materialized_view_parameter.png
Executable file → Normal file
BIN
docs/en_US/images/materialized_view_parameter.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 112 KiB |
BIN
docs/en_US/images/table_parameter.png
Executable file → Normal file
BIN
docs/en_US/images/table_parameter.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 120 KiB |
Reference in New Issue
Block a user