Re: [pgAdmin][RM5601] : [Schema Diff] Add RLS policy support in schema diff

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: Pradip Parkale <pradip(dot)parkale(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin][RM5601] : [Schema Diff] Add RLS policy support in schema diff
Date: 2020-06-26 12:37:04
Message-ID: CANxoLDeJyaiODhYo1ekWe+mL12gXYEScGjRfY6V6q1a3ioH8JQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Pradip

Following are the review comments:

- For function arguments please make sure the right sequence is *gid,
sid, did, scid, <object-id> ... *All the parameters are not compulsory
but the parameters should be in the mentioned order for consistency. Change
it to all the functions of RLS Policy wherever not followed, revisit the
already committed code as well.
- In case of more than one policy, all the headers are showing as a
comment on top of policy DDL in schema diff.
- If the policy event is different for source and target policy then it
is showing different but no diff SQL has been generated.
- Created new RM #5631, fixed that to test schema diff further.

On Thu, Jun 25, 2020 at 7:38 PM Pradip Parkale <
pradip(dot)parkale(at)enterprisedb(dot)com> wrote:

> Hi Hackers,
>
> Please find the attached patch for RLS policy support in schema diff.
>
> --
> Thanks & Regards,
> Pradip Parkale
> QMG, EnterpriseDB Corporation
>

--
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Paresh More 2020-06-26 12:45:29 Patch for Redmine Bug 5630
Previous Message Akshay Joshi 2020-06-26 09:47:17 Re: Reg-RM 5326[Code Coverage] Improve API test cases for Domain and Domain Constraints