From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | joosthelberg(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: create rule |
Date: | 2021-09-03 13:28:33 |
Message-ID: | 936ab0d51b6ab2c83b7021bd0552ac096b952eca.camel@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Fri, 2021-09-03 at 08:44 +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/12/rules-views.html
> Description:
>
> Nowhere in the documentation is mentioned that rules can only be made on
> tables without dropped columns and, much to my suprise, on empty tables
> only. I wanted to use rules on existing tables to cater for
> column-redaction, but this seems only possible by creating a new (empty)
> table for all user to use and to hide the original table from everyone.
> 1. the documentation should state this (and not start with an example of use
> of rules in views, which is a special case, I though).
> 2. the implementation should fix the only-on-empty tables issue (avoiding
> having to change the documentation).
I just tried, and both rules on columns with dropped columns and
rules on non-empty tables can be created and used without problems.
Perhaps you are using a mutilated fork of PostgreSQL.
Yours,
Laurenz Albe
From | Date | Subject | |
---|---|---|---|
Next Message | Laurenz Albe | 2021-09-03 19:39:45 | Re: [PATCH] fix ICU explorer link in locale documentation |
Previous Message | PG Doc comments form | 2021-09-03 08:44:34 | create rule |