Re: PATCH: Schema/Catalog Node [pgAdmin4]
От | Ashesh Vashi |
---|---|
Тема | Re: PATCH: Schema/Catalog Node [pgAdmin4] |
Дата | |
Msg-id | CAG7mmoweuCSmnoKtVjAg2ujYozN-OTOtK5w6eLTKsmf1HCNA9w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PATCH: Schema/Catalog Node [pgAdmin4] (Ashesh Vashi <ashesh.vashi@enterprisedb.com>) |
Ответы |
Re: PATCH: Schema/Catalog Node [pgAdmin4]
|
Список | pgadmin-hackers |
Hi Dave,
On Tue, Mar 8, 2016 at 12:20 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
Hi Dave,
On Thu, Mar 3, 2016 at 8:27 PM, Dave Page <dpage@pgadmin.org> wrote:HiOn Sun, Feb 28, 2016 at 6:49 AM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:Hi Dave,As discussed, I have worked on this patch to improve some code level changes.(because - Murtuza was not available due to some other engagement.)Can you please review it, and share your feedback?I think it's mostly there. I've attached an updated patch where I've fixed a few minor issues as I read through the code. The following (likely simple) issues need to be fixed:- Dropping a schema fails with an error message of "schema/pg/9.2_plus/sql/get_name.sql".Done.- Creating a schema appears to fail with "'data' is undefined", however the schema is created, it's just that the dialogue doesn't close and the new schema isn't added to the tree.Done.- There is some discrepancy between default privileges as displayed on the properties summary, the edit dialogue, and the RE-SQL. As you can see in the screenshot, the SQL just GRANTS ALL, and the properties panel doesn't show anything.Yes - there were some typos in the schema/catalog node implementation, which I have resolved now.Please find the updated patch.
One more updated patch:
Some of the catalogs will not have all the schema child objects.
Hence - they will need to check certain thing likes they're not being loading in the catalog with such property (i.e. pg_catalog).
To ease the work, I have introduced a class name SchemaChildModule, which does that job for us.
--
Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
--Thanks & Regards,Ashesh VashiThanks.--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Вложения
В списке pgadmin-hackers по дате отправления: