Re: [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog

Поиск
Список
Период
Сортировка
От Murtuza Zabuawala
Тема Re: [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog
Дата
Msg-id CAKKotZSTX3-tPKYtNw0VC8FtNRwmH7eXE8K6jDuyXjZM4FzonQ@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
Ответы Re: [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog
Список pgadmin-hackers
Hi Surinder,

Just a heads up, When server is not connected and listed down in browser tree then node has attribute 'type' instead of 'server_type'.
I have fixed similar issue few days ago Ref. link

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Mon, Sep 12, 2016 at 10:42 AM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:
Hi

Please find attached with following fixes:

1) The function 'canCreateProc' that checks if package is auth to create under catalog gets failed due to improper check of 'type'. Instead check should be like
node_hierarchy['server'].server_type == "ppas" not 
node_hierarchy['server'].type == "ppas"

2) Also found, package.js was loading at schema level, due to this, context menu doesn't popup under catalog. Now it is load at database level.

3) In package.js, remove extra comma from columns array.

4) Rule create option should not available on table under catalogs. Fixed.

Please review.

Thanks,
Surinder Kumar


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Surinder Kumar
Дата:
Сообщение: [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog
Следующее
От: Surinder Kumar
Дата:
Сообщение: Re: [pgAdmin4][Patch]: RM1682 - create new Procedure option should not available on System catalog