Ensure that autovacuum and analyze scale factors should be editable with more than two decimals. Fixes #4784
parent
351d86e149
commit
d6ee715d83
|
@ -22,6 +22,7 @@ Bug fixes
|
||||||
*********
|
*********
|
||||||
|
|
||||||
| `Issue #4438 <https://redmine.postgresql.org/issues/4438>`_ - Fixed an issue where adding/updating records fails if the table name contains percent sign.
|
| `Issue #4438 <https://redmine.postgresql.org/issues/4438>`_ - Fixed an issue where adding/updating records fails if the table name contains percent sign.
|
||||||
|
| `Issue #4784 <https://redmine.postgresql.org/issues/4784>`_ - Ensure that autovacuum and analyze scale factors should be editable with more than two decimals.
|
||||||
| `Issue #4959 <https://redmine.postgresql.org/issues/4959>`_ - Fixed an issue where the properties tab for collection nodes is unresponsive after switching the tabs.
|
| `Issue #4959 <https://redmine.postgresql.org/issues/4959>`_ - Fixed an issue where the properties tab for collection nodes is unresponsive after switching the tabs.
|
||||||
| `Issue #5073 <https://redmine.postgresql.org/issues/5073>`_ - Fixed an issue where the Save button is enabled for functions/procedures by default when open the properties dialog.
|
| `Issue #5073 <https://redmine.postgresql.org/issues/5073>`_ - Fixed an issue where the Save button is enabled for functions/procedures by default when open the properties dialog.
|
||||||
| `Issue #5119 <https://redmine.postgresql.org/issues/5119>`_ - Fixed an issue where hanging symlinks in a directory cause select file dialog to break.
|
| `Issue #5119 <https://redmine.postgresql.org/issues/5119>`_ - Fixed an issue where hanging symlinks in a directory cause select file dialog to break.
|
||||||
|
|
|
@ -120,7 +120,9 @@ define('pgadmin.node.schema', [
|
||||||
case 'integer':
|
case 'integer':
|
||||||
return Backgrid.IntegerCell;
|
return Backgrid.IntegerCell;
|
||||||
case 'number':
|
case 'number':
|
||||||
return Backgrid.NumberCell;
|
return Backgrid.NumberCell.extend({
|
||||||
|
decimals: this.get('decimals') || Backgrid.NumberFormatter.prototype.defaults.decimals,
|
||||||
|
});
|
||||||
case 'string':
|
case 'string':
|
||||||
return Backgrid.StringCell;
|
return Backgrid.StringCell;
|
||||||
default:
|
default:
|
||||||
|
@ -210,6 +212,7 @@ define('pgadmin.node.schema', [
|
||||||
{
|
{
|
||||||
name: 'value', label: gettext('Value'),
|
name: 'value', label: gettext('Value'),
|
||||||
cellHeaderClasses:'width_percent_30',
|
cellHeaderClasses:'width_percent_30',
|
||||||
|
decimals: 5,
|
||||||
cellFunction: Backform.cellFunction, editable: function(m) {
|
cellFunction: Backform.cellFunction, editable: function(m) {
|
||||||
return m.handler.get('autovacuum_custom');
|
return m.handler.get('autovacuum_custom');
|
||||||
}, headerCell: Backgrid.Extension.CustomHeaderCell,
|
}, headerCell: Backgrid.Extension.CustomHeaderCell,
|
||||||
|
@ -284,6 +287,7 @@ define('pgadmin.node.schema', [
|
||||||
name: 'value', label: gettext('Value'),
|
name: 'value', label: gettext('Value'),
|
||||||
cellHeaderClasses:'width_percent_30',
|
cellHeaderClasses:'width_percent_30',
|
||||||
headerCell: Backgrid.Extension.CustomHeaderCell,
|
headerCell: Backgrid.Extension.CustomHeaderCell,
|
||||||
|
decimals: 5,
|
||||||
cellFunction: Backform.cellFunction, editable: function(m) {
|
cellFunction: Backform.cellFunction, editable: function(m) {
|
||||||
return m.handler.get('toast_autovacuum');
|
return m.handler.get('toast_autovacuum');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue