Fixed 'can't execute an empty query' message if the user change the option of Auto FK Index. Fixes #5835

pull/35/head
Pradip Parkale 2020-10-06 17:20:43 +05:30 committed by Akshay Joshi
parent 6c4049f29a
commit 82e912ffad
2 changed files with 5 additions and 1 deletions

View File

@ -32,6 +32,7 @@ Bug fixes
| `Issue #5807 <https://redmine.postgresql.org/issues/5807>`_ - Fixed an issue where a column is renamed and then removed, then the drop SQL query takes the wrong column name.
| `Issue #5826 <https://redmine.postgresql.org/issues/5826>`_ - Fixed an issue where schema diff is showing identical table as different due to default vacuum settings.
| `Issue #5830 <https://redmine.postgresql.org/issues/5830>`_ - Fixed reverse engineering SQL where parenthesis is not properly arranged for View/MView definition.
| `Issue #5835 <https://redmine.postgresql.org/issues/5835>`_ - Fixed 'can't execute an empty query' message if the user change the option of Auto FK Index.
| `Issue #5839 <https://redmine.postgresql.org/issues/5839>`_ - Ensure that multiple extensions can be dropped from the properties tab.
| `Issue #5841 <https://redmine.postgresql.org/issues/5841>`_ - Fixed an issue where the server is not able to connect using the service.
| `Issue #5843 <https://redmine.postgresql.org/issues/5843>`_ - Fixed an issue where the 'PARALLEL UNSAFE' option is missing from reverse engineering SQL of function/procedure.
@ -40,4 +41,4 @@ Bug fixes
| `Issue #5861 <https://redmine.postgresql.org/issues/5861>`_ - Ensure that the 'Remove Server' option should be visible in the context menu.
| `Issue #5867 <https://redmine.postgresql.org/issues/5867>`_ - Fixed an issue where some properties are not being updated correctly for the shared server.
| `Issue #5882 <https://redmine.postgresql.org/issues/5882>`_ - Fixed invalid literal issue when fetching dependencies for Materialized View.
| `Issue #5885 <https://redmine.postgresql.org/issues/5885>`_ - Fixed an issue where the user is unable to change the macro name.
| `Issue #5885 <https://redmine.postgresql.org/issues/5885>`_ - Fixed an issue where the user is unable to change the macro name.

View File

@ -814,6 +814,9 @@ define('pgadmin.node.foreign_key', [
onText: gettext('Yes'),
offText: gettext('No'),
},disabled: function(m) {
// Don't allow to edit the auto index setting in edit mode
if(!m.isNew())
return true;
var index = m.get('coveringindex'),
autoindex = m.get('autoindex'),
setIndexName = function() {