Re: PATCH: Schema/Catalog Node [pgAdmin4]

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Neel Patel <neel(dot)patel(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Subject: Re: PATCH: Schema/Catalog Node [pgAdmin4]
Date: 2016-03-07 18:50:33
Message-ID: CAG7mmoyLH68J2M4wwvnjEGuA-P81RheQfC95wi6PzJk1kPs=BA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave,

On Thu, Mar 3, 2016 at 8:27 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Hi
>
> On Sun, Feb 28, 2016 at 6:49 AM, Ashesh Vashi <
> ashesh(dot)vashi(at)enterprisedb(dot)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.

--
Thanks & Regards,
Ashesh Vashi

> Thanks.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

Attachment Content-Type Size
schema_catalog_node_v9.patch application/octet-stream 182.1 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2016-03-08 05:14:58 Re: [pgAdmin4] [Patch]: Grant Wizard
Previous Message Dave Page 2016-03-07 13:52:14 Re: Remove unneeded bash dependency