diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/templates/package/js/package.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/templates/package/js/package.js
index e9d325b..a7d0571 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/templates/package/js/package.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/templates/package/js/package.js
@@ -46,7 +46,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
           name: 'create_package', node: 'schema', module: this,
           applies: ['object', 'context'], callback: 'show_obj_properties',
           category: 'create', priority: 4, label: '{{ _('Package...') }}',
-          icon: 'wcTabIcon icon-package', data: {action: 'create', check: false},
+          icon: 'wcTabIcon icon-package', data: {action: 'create', check: true},
           enable: 'canCreate'
         }
         ]);
@@ -59,12 +59,21 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
           if (data && data.check == false)
             return true;
 
-          var t = pgBrowser.tree, i = item, d = itemData;
+          var t = pgBrowser.tree, i = j = item, d = _d = itemData, server_type;
+          // Check for server type
+          while(j) {
+            if ('server' == _d._type) {
+                server_type = _d.server_type;
+            }
+              j = t.hasParent(j) ? t.parent(j) : null;
+              _d = j ? t.itemData(j) : null;
+          }
+
           // To iterate over tree to check parent node
           while (i) {
             // If it is schema then allow user to create collation
             if (_.indexOf(['schema'], d._type) > -1)
-              return true;
+              return true && server_type == 'ppas' ;
 
             if ('coll-package' == d._type) {
               //Check if we are not child of catalog
@@ -73,7 +82,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
               if( prev_d._type == 'catalog') {
                 return false;
               } else {
-                return true;
+                return true && server_type == 'ppas';
               }
             }
             i = t.hasParent(i) ? t.parent(i) : null;
