mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Ensure that the Owner should not be disabled while creating the procedure. Fixes #7064
2) Fixed an issue where Explain Analyze shows negative exclusive time. Fixes #7003
This commit is contained in:
committed by
Akshay Joshi
parent
4ee9a95360
commit
9ec8d05a64
@@ -209,7 +209,13 @@ export default class FunctionSchema extends BaseUISchema {
|
||||
},{
|
||||
id: 'funcowner', label: gettext('Owner'), cell: 'string',
|
||||
options: this.fieldOptions.role, type: 'select',
|
||||
disabled: (!(this.type === 'procedure')) ? obj.inCatalog() : obj.isGreaterThan95,
|
||||
disabled: (state) => {
|
||||
if (!(this.type === 'procedure')) {
|
||||
obj.inCatalog(state);
|
||||
} else {
|
||||
obj.isGreaterThan95(state);
|
||||
}
|
||||
},
|
||||
noEmpty: true,
|
||||
},{
|
||||
id: 'pronamespace', label: gettext('Schema'), cell: 'string',
|
||||
|
||||
@@ -121,7 +121,7 @@ define('pgadmin.node.procedure', [
|
||||
{
|
||||
funcowner: pgBrowser.serverInfo[treeNodeInfo.server._id].user.name,
|
||||
pronamespace: treeNodeInfo.schema ? treeNodeInfo.schema._id : null,
|
||||
lanname: 'edbspl',
|
||||
lanname: treeNodeInfo.server.server_type != 'ppas' ? 'sql' : 'edbspl',
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user