From: | Alexander Polyakov <alexplkv(at)yandex(dot)ru> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | [pgAdmin 3][Patch]Row-level security policies |
Date: | 2016-04-14 08:39:28 |
Message-ID: | 570F5740.7000505@yandex.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hello,
I've implemented basic support for Row-level security policies
(introduced in PostgreSQL 9.5) in PgAdmin3. Please, have a look at
patches attached to mail.
First patch contains pgPolicy tree object, dlgPolicy dialog, some small
changes in the pgTable and dlgTable code to represent new security
options (ENABLE/FORCE RLS). I've not included changes in xrcDialogs.cpp
into the patch.
Second patch implements tab-completion for new statements
(CREATE/ALTER/DROP POLICY).
I've decided to put these into separate patch, because I don't know
whether I've done it correctly: seems like tab-complete.inc used to be
generated by tabcomplete.pl once, but it doesn't look like a viable
option anymore (script failed at first match with latest tab-complete.c
from psql repository). So I've just edited tab-complete.inc manually.
P.S. Sorry for my previous mail, looks like it got broken by my mail server.
Best Regards,
Alexander
Attachment | Content-Type | Size |
---|---|---|
policy.patch | text/plain | 58.6 KB |
policy-tab-completion.patch | text/plain | 12.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-04-14 09:39:39 | Review: Views, Mat. Views, Vaccum controls, Columns, Indexes, Rules, Triggers |
Previous Message | Murtuza Zabuawala | 2016-04-14 07:36:00 | Re: PATCH: Added Node Type & Catalog objects [pgAdmin4] |